diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-06-04 16:06:24 (GMT) |
---|---|---|
committer | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2009-06-09 07:34:27 (GMT) |
commit | ed0b10aff5d0afb7e8165dbf9b14f30cfd73e3ff (patch) | |
tree | f6bc3fff042c4ef7c99e98a07035c0fb9a2eadc6 /tests/auto | |
parent | ad92e095ea34dda9d099fae30340a8fbb4c5380a (diff) | |
download | Qt-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 'tests/auto')
-rw-r--r-- | tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp b/tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp index 9f93ae0..8bb9122 100644 --- a/tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp +++ b/tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp @@ -2715,6 +2715,7 @@ void tst_QGraphicsScene::update() QGraphicsRectItem *rect = new QGraphicsRectItem(0, 0, 100, 100); scene.addItem(rect); + qApp->processEvents(); rect->setPos(-100, -100); // This function forces indexing |