diff options
author | Maurice Kalinowski <maurice.kalinowski@nokia.com> | 2009-04-06 14:18:40 (GMT) |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@nokia.com> | 2009-04-06 14:19:49 (GMT) |
commit | a93551a2e3e590400b09bc076d3a6883c162b75d (patch) | |
tree | 36870b274dadb028d4cb4e29f72f58d6402e25c0 /tests/auto/qwidget | |
parent | 1d3706f2b66ba5fbb586e532fc29852f55d81c86 (diff) | |
download | Qt-a93551a2e3e590400b09bc076d3a6883c162b75d.zip Qt-a93551a2e3e590400b09bc076d3a6883c162b75d.tar.gz Qt-a93551a2e3e590400b09bc076d3a6883c162b75d.tar.bz2 |
compile for non x11 systems
Reviewed-by: joerg
Diffstat (limited to 'tests/auto/qwidget')
-rw-r--r-- | tests/auto/qwidget/tst_qwidget.cpp | 2 |
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); |