summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsitem_p.h
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-12-14 18:55:43 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-12-14 18:55:43 (GMT)
commita068f6dd6115b2f950892e5228efe10b7de57a00 (patch)
treec55c44b2e1b452838a7443d85ca2463ca1ec15bd /src/gui/graphicsview/qgraphicsitem_p.h
parentad4ca2152c161f7023e5febcf9e90c0652b8e57d (diff)
parentadba8e01f0069d240bf0b97175f54e38271acd19 (diff)
downloadQt-a068f6dd6115b2f950892e5228efe10b7de57a00.zip
Qt-a068f6dd6115b2f950892e5228efe10b7de57a00.tar.gz
Qt-a068f6dd6115b2f950892e5228efe10b7de57a00.tar.bz2
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.6
Diffstat (limited to 'src/gui/graphicsview/qgraphicsitem_p.h')
-rw-r--r--src/gui/graphicsview/qgraphicsitem_p.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem_p.h b/src/gui/graphicsview/qgraphicsitem_p.h
index d6ffb1a..8f9fe54 100644
--- a/src/gui/graphicsview/qgraphicsitem_p.h
+++ b/src/gui/graphicsview/qgraphicsitem_p.h
@@ -562,7 +562,10 @@ public:
{}
inline void detach()
- { item->setGraphicsEffect(0); }
+ {
+ item->d_ptr->graphicsEffect = 0;
+ item->prepareGeometryChange();
+ }
inline const QGraphicsItem *graphicsItem() const
{ return item; }