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; } }