From ae42be87658ad97fad48706141779ec42c02212e Mon Sep 17 00:00:00 2001 From: axis Date: Fri, 21 Aug 2009 16:07:14 +0200 Subject: Fixed compile error. --- src/gui/graphicsview/qgraphicsitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v0.12