summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtableview/tst_qtableview.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-09-25 18:22:31 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-09-28 09:50:20 (GMT)
commit3cb2def34c32efe1155e6938eca65706dcc97aac (patch)
tree4471485f0ca6dcda935cbf20f067994b2b89a695 /tests/auto/qtableview/tst_qtableview.cpp
parentce6f58a54ccbf6c83cb2b4d725efb8fc5e1f261f (diff)
downloadQt-3cb2def34c32efe1155e6938eca65706dcc97aac.zip
Qt-3cb2def34c32efe1155e6938eca65706dcc97aac.tar.gz
Qt-3cb2def34c32efe1155e6938eca65706dcc97aac.tar.bz2
Stabilize some more tests
Diffstat (limited to 'tests/auto/qtableview/tst_qtableview.cpp')
-rw-r--r--tests/auto/qtableview/tst_qtableview.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qtableview/tst_qtableview.cpp b/tests/auto/qtableview/tst_qtableview.cpp
index f5d5040..71218a3 100644
--- a/tests/auto/qtableview/tst_qtableview.cpp
+++ b/tests/auto/qtableview/tst_qtableview.cpp
@@ -2339,6 +2339,7 @@ void tst_QTableView::scrollTo()
// resizing to this size will ensure that there can ONLY_BE_ONE_CELL inside the view.
QSize forcedSize(columnWidth * 2, rowHeight * 2);
view.resize(forcedSize);
+ QTest::qWaitForWindowShown(&view);
QTest::qWait(0);
QTRY_COMPARE(view.size(), forcedSize);