Enable blurbehind for panels only if theme sets it

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: zzag, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D19909
parent b2b4959a
......@@ -1111,7 +1111,7 @@ void PanelView::themeChanged()
KWindowEffects::enableBlurBehind(winId(), false);
KWindowEffects::enableBackgroundContrast(winId(), false);
} else {
KWindowEffects::enableBlurBehind(winId(), true);
KWindowEffects::enableBlurBehind(winId(), m_theme.blurBehindEnabled());
KWindowEffects::enableBackgroundContrast(winId(), m_theme.backgroundContrastEnabled(),
m_theme.backgroundContrast(),
m_theme.backgroundIntensity(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment