summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-09-18 15:53:20 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-09-18 15:55:36 (GMT)
commitdf1a702e53026f9767b36b4419b0c6ecdc1e54cd (patch)
treebd9c16cbd6f63af42c4fd47f26013c54acdafa5f /tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
parent0d9e785fdf770ffee8e72c92091aa55176437154 (diff)
downloadQt-df1a702e53026f9767b36b4419b0c6ecdc1e54cd.zip
Qt-df1a702e53026f9767b36b4419b0c6ecdc1e54cd.tar.gz
Qt-df1a702e53026f9767b36b4419b0c6ecdc1e54cd.tar.bz2
Small improvements to some autotests.
This should improve qgraphicsview, qgraphicsitem and qtableview autotests on slow window managers on X11. Reviewed-by: trustme
Diffstat (limited to 'tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp')
-rw-r--r--tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp b/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
index 2f2a268..218e9d2 100644
--- a/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
+++ b/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
@@ -8227,6 +8227,7 @@ void tst_QGraphicsItem::ensureDirtySceneTransform()
QGraphicsView view(&scene);
view.show();
+ QTest::qWaitForWindowShown(&view);
QTRY_COMPARE(QApplication::activeWindow(), &view);
//We move the parent