summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMaurice Kalinowski <maurice.kalinowski@nokia.com>2009-04-06 14:18:40 (GMT)
committerMaurice Kalinowski <maurice.kalinowski@nokia.com>2009-04-06 14:19:49 (GMT)
commita93551a2e3e590400b09bc076d3a6883c162b75d (patch)
tree36870b274dadb028d4cb4e29f72f58d6402e25c0 /tests
parent1d3706f2b66ba5fbb586e532fc29852f55d81c86 (diff)
downloadQt-a93551a2e3e590400b09bc076d3a6883c162b75d.zip
Qt-a93551a2e3e590400b09bc076d3a6883c162b75d.tar.gz
Qt-a93551a2e3e590400b09bc076d3a6883c162b75d.tar.bz2
compile for non x11 systems
Reviewed-by: joerg
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qwidget/tst_qwidget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qwidget/tst_qwidget.cpp b/tests/auto/qwidget/tst_qwidget.cpp
index dfd0792..4b41bdb 100644
--- a/tests/auto/qwidget/tst_qwidget.cpp
+++ b/tests/auto/qwidget/tst_qwidget.cpp
@@ -8734,7 +8734,9 @@ void tst_QWidget::toplevelLineEditFocus()
QLineEdit w;
w.show();
+#ifdef Q_WS_X11
qt_x11_wait_for_window_manager(&w);
+#endif
QTest::qWait(200);
QCOMPARE(QApplication::activeWindow(), &w);