summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-06-04 16:06:24 (GMT)
committerAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-06-09 07:34:27 (GMT)
commited0b10aff5d0afb7e8165dbf9b14f30cfd73e3ff (patch)
treef6bc3fff042c4ef7c99e98a07035c0fb9a2eadc6 /src
parentad92e095ea34dda9d099fae30340a8fbb4c5380a (diff)
downloadQt-ed0b10aff5d0afb7e8165dbf9b14f30cfd73e3ff.zip
Qt-ed0b10aff5d0afb7e8165dbf9b14f30cfd73e3ff.tar.gz
Qt-ed0b10aff5d0afb7e8165dbf9b14f30cfd73e3ff.tar.bz2
Make sure we reset the updateAll variable correctly.
Makes tst_QGraphicsScene::update happy.
Diffstat (limited to 'src')
-rw-r--r--src/gui/graphicsview/qgraphicsscene.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene.cpp b/src/gui/graphicsview/qgraphicsscene.cpp
index c738f80..4578bd4 100644
--- a/src/gui/graphicsview/qgraphicsscene.cpp
+++ b/src/gui/graphicsview/qgraphicsscene.cpp
@@ -610,6 +610,7 @@ void QGraphicsScenePrivate::_q_emitUpdated()
}
}
} else {
+ updateAll = false;
for (int i = 0; i < views.size(); ++i)
views.at(i)->d_func()->processPendingUpdates();
return;