summaryrefslogtreecommitdiffstats
path: root/tests/auto/q3table
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-09-22 16:56:24 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-09-22 16:57:11 (GMT)
commitf5d6022f4ca4af32de2b683dfb9f41173e7c8934 (patch)
treef573bdfe72a6bee62372d46e624b118fa26c6558 /tests/auto/q3table
parent0691350e14632dea6c12a2d37e605dc0628b4ceb (diff)
downloadQt-f5d6022f4ca4af32de2b683dfb9f41173e7c8934.zip
Qt-f5d6022f4ca4af32de2b683dfb9f41173e7c8934.tar.gz
Qt-f5d6022f4ca4af32de2b683dfb9f41173e7c8934.tar.bz2
Stabilize more test
Diffstat (limited to 'tests/auto/q3table')
-rw-r--r--tests/auto/q3table/tst_q3table.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/q3table/tst_q3table.cpp b/tests/auto/q3table/tst_q3table.cpp
index 44b0edb..1fe4412 100644
--- a/tests/auto/q3table/tst_q3table.cpp
+++ b/tests/auto/q3table/tst_q3table.cpp
@@ -1201,6 +1201,7 @@ void tst_Q3Table::editCheck()
EditCheckQ3Table table(10, 10, 0);
table.show();
+ QTest::qWaitForWindowShown(&table);
table.setCurrentCell(0, 0);
#ifdef WAITS
QTest::qWait(50);
@@ -1378,6 +1379,7 @@ void tst_Q3Table::dateTimeEdit()
TimeTableItem *ti = new TimeTableItem(testWidget);
testWidget->setItem(0, 0, ti);
testWidget->show();
+ QTest::qWaitForWindowShown(&testWidget);
#ifdef WAITS
QTest::qWait(50);
#endif