summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Sobral Cunha <leo.cunha@nokia.com>2009-08-06 09:26:22 (GMT)
committerLeonardo Sobral Cunha <leo.cunha@nokia.com>2009-08-06 09:27:07 (GMT)
commit62d87f9144728251450066dc41a06ad176fb4379 (patch)
treec0914cec90e839f162a0d74b29ae6ee3e4685431
parent703844cffdfacca68fe5bff9e562997eea1568ab (diff)
downloadQt-62d87f9144728251450066dc41a06ad176fb4379.zip
Qt-62d87f9144728251450066dc41a06ad176fb4379.tar.gz
Qt-62d87f9144728251450066dc41a06ad176fb4379.tar.bz2
Fixes one more autotest in QCompleter: task247560_keyboardNavigation
Reviewed-by: paul
-rw-r--r--tests/auto/qcompleter/tst_qcompleter.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qcompleter/tst_qcompleter.cpp b/tests/auto/qcompleter/tst_qcompleter.cpp
index 4010752..9c436fa 100644
--- a/tests/auto/qcompleter/tst_qcompleter.cpp
+++ b/tests/auto/qcompleter/tst_qcompleter.cpp
@@ -1351,6 +1351,10 @@ void tst_QCompleter::task247560_keyboardNavigation()
edit.show();
edit.setFocus();
+#ifdef Q_WS_X11
+ qt_x11_wait_for_window_manager(&edit);
+#endif
+
QTest::qWait(100);
QTest::keyClick(&edit, 'r');