restore the painter
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=750290
This commit is contained in:
parent
e8e3b503e2
commit
f0637a2e9a
@ -865,6 +865,7 @@ void Applet::paintWidget(QPainter *painter, const QStyleOptionGraphicsItem *opti
|
||||
// note that the widget we get is actually the viewport of the view, not the view itself
|
||||
View* v = qobject_cast<Plasma::View*>(widget->parent());
|
||||
if (v && !v->drawWallpaper()) {
|
||||
painter->restore();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user