diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-06-03 08:43:49 (GMT) |
---|---|---|
committer | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2009-06-09 07:32:30 (GMT) |
commit | 31a7de5cbecad8f5cc106c8886c79c63f07c9b5a (patch) | |
tree | c0e7b185a57bdb602e1143832e18994fc0e1aa33 /src/gui/graphicsview | |
parent | b5d987298b0502dd593dd09d7e4e1233d6e30dd6 (diff) | |
download | Qt-31a7de5cbecad8f5cc106c8886c79c63f07c9b5a.zip Qt-31a7de5cbecad8f5cc106c8886c79c63f07c9b5a.tar.gz Qt-31a7de5cbecad8f5cc106c8886c79c63f07c9b5a.tar.bz2 |
Correct minor mistake after re-refactoring.
We don't want to re-calculate the dirty rect for each view.
Diffstat (limited to 'src/gui/graphicsview')
-rw-r--r-- | src/gui/graphicsview/qgraphicsscene.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene.cpp b/src/gui/graphicsview/qgraphicsscene.cpp index 188165d..f8b3b0a 100644 --- a/src/gui/graphicsview/qgraphicsscene.cpp +++ b/src/gui/graphicsview/qgraphicsscene.cpp @@ -5305,8 +5305,8 @@ void QGraphicsScenePrivate::processDirtyItemsRecursive(QGraphicsItem *item) if (!item->d_ptr->fullUpdatePending) { _q_adjustRect(&item->d_ptr->needsRepaint); dirtyRect &= item->d_ptr->needsRepaint; - uninitializedDirtyRect = false; } + uninitializedDirtyRect = false; } if (item->d_ptr->paintedViewBoundingRectsNeedRepaint) |