summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-08-21 14:07:14 (GMT)
committeraxis <qt-info@nokia.com>2009-08-21 14:07:14 (GMT)
commitae42be87658ad97fad48706141779ec42c02212e (patch)
tree38bd192c82e7cbff5997b293773b920d9233c623 /src/gui/graphicsview
parent5477b478962ee3655f477e9ab4839e302f3aa577 (diff)
downloadQt-ae42be87658ad97fad48706141779ec42c02212e.zip
Qt-ae42be87658ad97fad48706141779ec42c02212e.tar.gz
Qt-ae42be87658ad97fad48706141779ec42c02212e.tar.bz2
Fixed compile error.
Diffstat (limited to 'src/gui/graphicsview')
-rw-r--r--src/gui/graphicsview/qgraphicsitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem.cpp b/src/gui/graphicsview/qgraphicsitem.cpp
index 2a364c9..620f6f4 100644
--- a/src/gui/graphicsview/qgraphicsitem.cpp
+++ b/src/gui/graphicsview/qgraphicsitem.cpp
@@ -2341,7 +2341,7 @@ QRectF QGraphicsItemPrivate::sceneEffectiveBoundingRect() const
const QGraphicsItem *parentItem = q_ptr;
const QGraphicsItemPrivate *itemd;
do {
- itemd = parentItem->d_ptr;
+ itemd = parentItem->d_ptr.data();
if (itemd->transformData)
break;
offset += itemd->pos;