re-read dashboard kcfg on reconfigure

BUG: 324034
FIXED-IN: 4.11.2
REVIEW: 112280
This commit is contained in:
Thomas Lübking 2013-08-26 01:19:06 +02:00
parent 2a5861faef
commit a61002224f

View file

@ -51,11 +51,14 @@ DashboardEffect::~DashboardEffect()
void DashboardEffect::reconfigure(ReconfigureFlags)
{
DashboardConfig::self()->readConfig();
brightness = DashboardConfig::brightness()/ 100.0;
saturation = DashboardConfig::saturation()/ 100.0;
blur = DashboardConfig::blur();
timeline.setDuration(animationTime<DashboardConfig>(500));
if (transformWindow)
effects->addRepaintFull();
}
void DashboardEffect::paintWindow(EffectWindow* w, int mask, QRegion region, WindowPaintData& data)