fix the configure overlay appearance - we want the contentsrect, not the
rect svn path=/trunk/KDE/kdelibs/; revision=1020851
This commit is contained in:
parent
17970540c6
commit
38e309aec5
@ -2693,8 +2693,8 @@ void AppletOverlayWidget::paint(QPainter *painter,
|
||||
QPainterPath backgroundShape;
|
||||
if (!applet || applet->backgroundHints() & Applet::StandardBackground) {
|
||||
//FIXME: a resize here is nasty, but perhaps still better than an eventfilter just for that..
|
||||
if (parentWidget()->size() != size()) {
|
||||
resize(parentWidget()->size());
|
||||
if (parentWidget()->contentsRect().size() != size()) {
|
||||
resize(parentWidget()->contentsRect().size());
|
||||
}
|
||||
backgroundShape = PaintUtils::roundedRectangle(contentsRect(), 5);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user