Don't forget the Blur behind the panel

This commit is contained in:
Sebastian Kügler 2014-02-06 03:52:11 +01:00
parent 60e955784c
commit 62de49128e

View File

@ -602,11 +602,12 @@ void PanelView::updateStruts()
void PanelView::themeChanged()
{
qDebug() << "CON themeChanged ... " << m_theme.backgroundContrastEnabled() << " : " << m_theme.backgroundContrast() << m_theme.backgroundIntensity() << m_theme.backgroundSaturation();
//TODO: how to take the shape from the framesvg?
KWindowEffects::enableBlurBehind(winId(), true);
KWindowEffects::enableBackgroundContrast(winId(), m_theme.backgroundContrastEnabled(),
m_theme.backgroundContrast(),
m_theme.backgroundIntensity(),
m_theme.backgroundSaturation());
//TODO: how to take the shape from the framesvg?
}
#include "moc_panelview.cpp"