diff options
author | Iain <qt-info@nokia.com> | 2009-05-26 15:17:31 (GMT) |
---|---|---|
committer | Iain <qt-info@nokia.com> | 2009-05-26 15:17:31 (GMT) |
commit | 82f8c6fbc0006d08638a397941f170e2bee6460d (patch) | |
tree | 3fc8b33e139a28d17482b9fe7bd349896cbd5ece /tests/auto/qgraphicsscene | |
parent | 8d9b58cde5d1ad6c6684bcc3516cd3782b946bfc (diff) | |
parent | 4998ad5f72314b48ad8c8115b64f4cb4b747c2bc (diff) | |
download | Qt-82f8c6fbc0006d08638a397941f170e2bee6460d.zip Qt-82f8c6fbc0006d08638a397941f170e2bee6460d.tar.gz Qt-82f8c6fbc0006d08638a397941f170e2bee6460d.tar.bz2 |
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-public
Diffstat (limited to 'tests/auto/qgraphicsscene')
-rw-r--r-- | tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp b/tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp index b741da6..d020c10 100644 --- a/tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp +++ b/tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp @@ -47,6 +47,7 @@ #include <QtGui> #include <math.h> +#include "../../shared/util.h" #if defined(Q_OS_WIN) && !defined(Q_OS_WINCE) #include <windows.h> @@ -3547,8 +3548,7 @@ void tst_QGraphicsScene::changedSignal() scene.addItem(rect); QCOMPARE(cl.changes.size(), 0); - qApp->processEvents(); - QCOMPARE(cl.changes.size(), 1); + QTRY_COMPARE(cl.changes.size(), 1); QCOMPARE(cl.changes.at(0).size(), 1); QCOMPARE(cl.changes.at(0).first(), QRectF(0, 0, 10, 10)); |