summaryrefslogtreecommitdiffstats
path: root/tests/auto/q3table
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-09-23 21:03:01 +0200
committerOlivier Goffart <ogoffart@trolltech.com>2009-09-23 22:22:15 +0200
commitf6b942b88ed2519b73c540120fde73390716173f (patch)
tree378c5b425afd0466efa224e725cbcaea2a4ba26a /tests/auto/q3table
parent5c5a6b387319095a2c2a589bb1e1d67b51854fc1 (diff)
Stabilize more tests
Diffstat (limited to 'tests/auto/q3table')
-rw-r--r--tests/auto/q3table/tst_q3table.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/q3table/tst_q3table.cpp b/tests/auto/q3table/tst_q3table.cpp
index ca65852de5..f911dd4d74 100644
--- a/tests/auto/q3table/tst_q3table.cpp
+++ b/tests/auto/q3table/tst_q3table.cpp
@@ -51,6 +51,8 @@
#include <q3table.h>
#include <qlayout.h>
+#include "../../shared/util.h"
+
#define WAITS 1
#ifdef WAITS
#endif
@@ -499,6 +501,8 @@ void tst_Q3Table::pageUpDownNavigation()
void tst_Q3Table::simpleKeyboardNavigation()
{
+ QApplication::setActiveWindow(testWidget);
+ QTRY_COMPARE(QApplication::activeWindow(), testWidget);
QWidget *w;
// Test for task #24726