From 1b9b03529b5f1da1872b07d18a0daf7230899fbf Mon Sep 17 00:00:00 2001 From: Dominic Hayes Date: Thu, 11 Mar 2021 17:37:17 +0000 Subject: [PATCH] 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 --- src/plasma/private/theme_p.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plasma/private/theme_p.cpp b/src/plasma/private/theme_p.cpp index cbcab7f36..a9734a32e 100644 --- a/src/plasma/private/theme_p.cpp +++ b/src/plasma/private/theme_p.cpp @@ -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;