From f0637a2e9aeee33d96c5bce0cc6c41cae9656dab Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Wed, 19 Dec 2007 02:52:41 +0000 Subject: [PATCH] restore the painter svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=750290 --- applet.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/applet.cpp b/applet.cpp index 09d4a7668..c116aa18c 100644 --- a/applet.cpp +++ b/applet.cpp @@ -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(widget->parent()); if (v && !v->drawWallpaper()) { + painter->restore(); return; } }