Changeset View
Changeset View
Standalone View
Standalone View
shell/panelview.cpp
Show First 20 Lines • Show All 1105 Lines • ▼ Show 20 Line(s) | |||||
1106 | } | 1106 | } | ||
1107 | 1107 | | |||
1108 | void PanelView::themeChanged() | 1108 | void PanelView::themeChanged() | ||
1109 | { | 1109 | { | ||
1110 | if (m_backgroundHints == Plasma::Types::NoBackground) { | 1110 | if (m_backgroundHints == Plasma::Types::NoBackground) { | ||
1111 | KWindowEffects::enableBlurBehind(winId(), false); | 1111 | KWindowEffects::enableBlurBehind(winId(), false); | ||
1112 | KWindowEffects::enableBackgroundContrast(winId(), false); | 1112 | KWindowEffects::enableBackgroundContrast(winId(), false); | ||
1113 | } else { | 1113 | } else { | ||
1114 | KWindowEffects::enableBlurBehind(winId(), true); | 1114 | KWindowEffects::enableBlurBehind(winId(), m_theme.blurBehindEnabled()); | ||
1115 | KWindowEffects::enableBackgroundContrast(winId(), m_theme.backgroundContrastEnabled(), | 1115 | KWindowEffects::enableBackgroundContrast(winId(), m_theme.backgroundContrastEnabled(), | ||
1116 | m_theme.backgroundContrast(), | 1116 | m_theme.backgroundContrast(), | ||
1117 | m_theme.backgroundIntensity(), | 1117 | m_theme.backgroundIntensity(), | ||
1118 | m_theme.backgroundSaturation()); | 1118 | m_theme.backgroundSaturation()); | ||
1119 | } | 1119 | } | ||
1120 | 1120 | | |||
1121 | updateMask(); | 1121 | updateMask(); | ||
1122 | } | 1122 | } | ||
▲ Show 20 Lines • Show All 140 Lines • Show Last 20 Lines |