summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2010-08-27 16:32:21 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2010-08-27 16:32:21 (GMT)
commitd3b898e973662707f9644b4fe5f8d18849929723 (patch)
treecf7644a23cc1787c1b710c7c1ebd0b6e028d3ca7 /tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp
parenta8030e0c543e538652605557843b845f89b11589 (diff)
parent40b6c1dd9199ac5e0d6a1921b05c11e647d09dca (diff)
downloadQt-d3b898e973662707f9644b4fe5f8d18849929723.zip
Qt-d3b898e973662707f9644b4fe5f8d18849929723.tar.gz
Qt-d3b898e973662707f9644b4fe5f8d18849929723.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7
Diffstat (limited to 'tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp')
-rw-r--r--tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp b/tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp
index 7ee2a48..c145623 100644
--- a/tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp
+++ b/tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp
@@ -4581,13 +4581,13 @@ void tst_QGraphicsScene::zeroScale()
rect1->setScale(0.00000001);
QApplication::processEvents();
- QCOMPARE(cl.changes.count(), 1);
+ QTRY_COMPARE(cl.changes.count(), 1);
QGraphicsRectItem *rect2 = new QGraphicsRectItem(-0.0000001, -0.0000001, 0.0000001, 0.0000001);
rect2->setScale(0.00000001);
scene.addItem(rect2);
rect1->setPos(20,20);
QApplication::processEvents();
- QCOMPARE(cl.changes.count(), 2);
+ QTRY_COMPARE(cl.changes.count(), 2);
}
QTEST_MAIN(tst_QGraphicsScene)