Don't forget the Blur behind the panel
This commit is contained in:
parent
60e955784c
commit
62de49128e
@ -602,11 +602,12 @@ void PanelView::updateStruts()
|
|||||||
void PanelView::themeChanged()
|
void PanelView::themeChanged()
|
||||||
{
|
{
|
||||||
qDebug() << "CON themeChanged ... " << m_theme.backgroundContrastEnabled() << " : " << m_theme.backgroundContrast() << m_theme.backgroundIntensity() << m_theme.backgroundSaturation();
|
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(),
|
KWindowEffects::enableBackgroundContrast(winId(), m_theme.backgroundContrastEnabled(),
|
||||||
m_theme.backgroundContrast(),
|
m_theme.backgroundContrast(),
|
||||||
m_theme.backgroundIntensity(),
|
m_theme.backgroundIntensity(),
|
||||||
m_theme.backgroundSaturation());
|
m_theme.backgroundSaturation());
|
||||||
//TODO: how to take the shape from the framesvg?
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "moc_panelview.cpp"
|
#include "moc_panelview.cpp"
|
||||||
|
Loading…
Reference in New Issue
Block a user