From 43506a6962f646442d923e1650592845cce0699d Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Sun, 30 Aug 2009 23:52:13 +0000 Subject: [PATCH] fix setTargetItem svn path=/trunk/KDE/kdelibs/; revision=1017598 --- widgets/itembackground.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/itembackground.cpp b/widgets/itembackground.cpp index 0510cf157..533975135 100644 --- a/widgets/itembackground.cpp +++ b/widgets/itembackground.cpp @@ -99,7 +99,7 @@ void ItemBackground::setTarget(const QRectF &newGeometry) void ItemBackground::setTargetItem(QGraphicsItem *target) { QRectF rect = target->boundingRect(); - rect.setTopLeft(target->pos()); + rect.moveTopLeft(target->pos()); setTarget(rect); }