summaryrefslogtreecommitdiff
path: root/tests/auto/widgets/graphicsview/qgraphicssceneindex
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2013-05-23 09:33:27 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-05-23 10:02:19 +0200
commitef8ece3f93f5d9f1a1f867df20923839f0ab6950 (patch)
treed2534a38ec1d867b0dc4c4ee0f7aae0a3fb85aa2 /tests/auto/widgets/graphicsview/qgraphicssceneindex
parent7a6c0f0673a239dd84614281f163dd7da1ad1f7a (diff)
downloadqtbase-ef8ece3f93f5d9f1a1f867df20923839f0ab6950.tar.gz
Stabilize tst_qgraphicssceneindex.
Change-Id: I8cda10a5a4c9bf949b560e7be4da9bef92667688 Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Diffstat (limited to 'tests/auto/widgets/graphicsview/qgraphicssceneindex')
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicssceneindex/tst_qgraphicssceneindex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/widgets/graphicsview/qgraphicssceneindex/tst_qgraphicssceneindex.cpp b/tests/auto/widgets/graphicsview/qgraphicssceneindex/tst_qgraphicssceneindex.cpp
index 7794fde2c7..dd432912f3 100644
--- a/tests/auto/widgets/graphicsview/qgraphicssceneindex/tst_qgraphicssceneindex.cpp
+++ b/tests/auto/widgets/graphicsview/qgraphicssceneindex/tst_qgraphicssceneindex.cpp
@@ -307,8 +307,8 @@ void tst_QGraphicsSceneIndex::clear()
QGraphicsView view(&scene);
view.show();
- QVERIFY(QTest::qWaitForWindowActive(&view));
qApp->setActiveWindow(&view);
+ QVERIFY(QTest::qWaitForWindowActive(&view));
scene.clear();
// Make sure the index is re-generated after QGraphicsScene::clear();