From a00b42cf696341c9f6e5bb6af1f2c6eba9bbee75 Mon Sep 17 00:00:00 2001 From: Rob Scheepmaker Date: Mon, 27 Oct 2008 17:16:41 +0000 Subject: [PATCH] Correct placement when detaching extenderItems. svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=876615 --- extenderitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extenderitem.cpp b/extenderitem.cpp index 308c8325b..7f234f8a8 100644 --- a/extenderitem.cpp +++ b/extenderitem.cpp @@ -699,7 +699,7 @@ void ExtenderItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) if (containment->sceneBoundingRect().contains(mousePos)) { Applet *applet = containment->addApplet("internal:extender", QVariantList(), - QRectF(mousePos, size())); + QRectF(containment->mapFromScene(mousePos), size())); setExtender(applet->d->extender); } }