From 3cab60d83322103652fe34cc300ea0257e48e02a Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 18 Dec 2008 11:03:35 +0000 Subject: [PATCH] make sure to reposition all the toolboxes on all screens when the zoom level changes svn path=/trunk/KDE/kdelibs/; revision=898482 --- applet.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/applet.cpp b/applet.cpp index 826a791a4..9f11c2278 100644 --- a/applet.cpp +++ b/applet.cpp @@ -1044,6 +1044,9 @@ void Applet::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QW //update the view transform of the toolbox, since it ignores transforms if (c && c->d->toolBox) { + if (c->d->toolBox->viewTransform().isScaling() && !v->transform().isScaling()) { + c->d->positionToolBox(); + } c->d->toolBox->setViewTransform(v->transform()); }