diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-06-26 13:54:04 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-06-26 14:56:38 (GMT) |
commit | 7541247a025bf112716a752bc4d114303f2a77f8 (patch) | |
tree | d170ff340b8fe60f320eaab0f766784f0287912a /src/gui/graphicsview/qgraphicsitem.cpp | |
parent | eab949e2ec8f820a54826c1a837c8c8de07814ab (diff) | |
download | Qt-7541247a025bf112716a752bc4d114303f2a77f8.zip Qt-7541247a025bf112716a752bc4d114303f2a77f8.tar.gz Qt-7541247a025bf112716a752bc4d114303f2a77f8.tar.bz2 |
Proper handling of scene rect in QGraphicsScene(Index).
Reviewed-by: Andreas
Diffstat (limited to 'src/gui/graphicsview/qgraphicsitem.cpp')
-rw-r--r-- | src/gui/graphicsview/qgraphicsitem.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem.cpp b/src/gui/graphicsview/qgraphicsitem.cpp index 7393f00..e9d1076 100644 --- a/src/gui/graphicsview/qgraphicsitem.cpp +++ b/src/gui/graphicsview/qgraphicsitem.cpp @@ -6322,6 +6322,7 @@ void QGraphicsItem::removeFromIndex() void QGraphicsItem::prepareGeometryChange() { if (d_ptr->scene) { + d_ptr->scene->d_func()->dirtyGrowingItemsBoundingRect = true; d_ptr->geometryChanged = 1; d_ptr->paintedViewBoundingRectsNeedRepaint = 1; |