diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-09-18 15:53:20 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-09-18 15:55:36 (GMT) |
commit | df1a702e53026f9767b36b4419b0c6ecdc1e54cd (patch) | |
tree | bd9c16cbd6f63af42c4fd47f26013c54acdafa5f /tests/auto/qgraphicsitem | |
parent | 0d9e785fdf770ffee8e72c92091aa55176437154 (diff) | |
download | Qt-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')
-rw-r--r-- | tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp | 1 |
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 |