summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtableview
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-09-23 19:48:16 +0200
committerOlivier Goffart <ogoffart@trolltech.com>2009-09-23 20:12:40 +0200
commitd2180e2fc3c56d56cd073a896d8449181ca28136 (patch)
treeb0e2cd889f700e82920ff706c591457e00680c60 /tests/auto/qtableview
parent0f462990247d71e598346a8f96faf6d04cd4515e (diff)
Stabilize more test
Diffstat (limited to 'tests/auto/qtableview')
-rw-r--r--tests/auto/qtableview/tst_qtableview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qtableview/tst_qtableview.cpp b/tests/auto/qtableview/tst_qtableview.cpp
index ce13d31ee2..f5d5040910 100644
--- a/tests/auto/qtableview/tst_qtableview.cpp
+++ b/tests/auto/qtableview/tst_qtableview.cpp
@@ -2908,11 +2908,11 @@ void tst_QTableView::tabFocus()
QLineEdit *edit = new QLineEdit(&window);
window.show();
+ QApplication::setActiveWindow(&window);
QTest::qWaitForWindowShown(&window);
window.setFocus();
QTest::qWait(100);
window.activateWindow();
- QApplication::setActiveWindow(&window);
QTest::qWait(100);
qApp->processEvents();