Change ContrastEffect check to AdaptiveTransparency in A.T. check
Fix Contrastless Plasma Styles not being able to use Adaptive Transparency by changing the check, for ContrastEffect being enabled in the Plasma Style to instead check if AdaptiveTransparency is enabled in the Plasma Style, for determining if Adaptive Transparency should be available. BUG: 434200 FIXED-IN: 5.81
This commit is contained in:
parent
3701b184d8
commit
1b9b03529b
@ -759,7 +759,7 @@ void ThemePrivate::processAdaptiveTransparencySettings(KConfigBase *metadata)
|
||||
{
|
||||
KConfigGroup cg;
|
||||
if (metadata->hasGroup("AdaptiveTransparency")) {
|
||||
cg = KConfigGroup(metadata, "ContrastEffect");
|
||||
cg = KConfigGroup(metadata, "AdaptiveTransparency");
|
||||
adaptiveTransparencyEnabled = cg.readEntry("enabled", false);
|
||||
} else {
|
||||
adaptiveTransparencyEnabled = false;
|
||||
|
Loading…
Reference in New Issue
Block a user