we need to specifically call update in case the geometry doesn't change, and therefore the cached painting isn't invalidated.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=786447
This commit is contained in:
parent
1f6956398d
commit
ac473c1b7e
@ -624,12 +624,14 @@ void Applet::setDrawStandardBackground(bool drawBackground)
|
||||
d->getBorderSize(left, top, right, bottom);
|
||||
setMargins(0, 0, right, bottom);
|
||||
updateGeometry();
|
||||
update();
|
||||
}
|
||||
} else if (d->background) {
|
||||
delete d->background;
|
||||
d->background = 0;
|
||||
setMargins(0, 0, 0, 0);
|
||||
updateGeometry();
|
||||
update();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user