Stabilize tst_qgraphicssceneindex.
Change-Id: I8cda10a5a4c9bf949b560e7be4da9bef92667688 Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
This commit is contained in:
parent
7a6c0f0673
commit
ef8ece3f93
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user