diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-30 19:38:46 +0200 |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-30 19:54:23 +0200 |
commit | e8fc662c4b5a0fa5da6f0d47e1dbb5b2640d7001 (patch) | |
tree | 17388605ed0567ffa80e65b2417d525b2468ea8f /tests/auto/qtreeview | |
parent | 1827669c08580ec309ac6e13c6684e6dbcf18ec4 (diff) | |
download | qt4-tools-e8fc662c4b5a0fa5da6f0d47e1dbb5b2640d7001.tar.gz |
Stabilize tests on X11
Diffstat (limited to 'tests/auto/qtreeview')
-rw-r--r-- | tests/auto/qtreeview/tst_qtreeview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qtreeview/tst_qtreeview.cpp b/tests/auto/qtreeview/tst_qtreeview.cpp index 112bcc8feb..91b2cc5529 100644 --- a/tests/auto/qtreeview/tst_qtreeview.cpp +++ b/tests/auto/qtreeview/tst_qtreeview.cpp @@ -3113,7 +3113,7 @@ void tst_QTreeView::task224091_appendColumns() treeView->show(); treeView->resize(50,50); - QTest::qWait(50); + QTest::qWaitForWindowShown(treeView); qApp->processEvents(); QList<QStandardItem *> projlist; @@ -3125,7 +3125,7 @@ void tst_QTreeView::task224091_appendColumns() QTest::qWait(50); qApp->processEvents(); - QVERIFY(treeView->verticalScrollBar()->isVisible()); + QTRY_VERIFY(treeView->verticalScrollBar()->isVisible()); delete treeView; delete model; |