re-read dashboard kcfg on reconfigure
BUG: 324034 FIXED-IN: 4.11.2 REVIEW: 112280
This commit is contained in:
parent
2a5861faef
commit
a61002224f
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue