summaryrefslogtreecommitdiffstats
path: root/tests/auto/qlineedit
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-12-02 18:10:26 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-12-02 18:10:26 (GMT)
commit78b2e552cca92859b2c126751ca5fc6fd83dd5cf (patch)
treed42ba4930fd4b3c17515504994b8ec02e486d2ab /tests/auto/qlineedit
parentac94288ba71722981894fc7577b781aa76d5f7de (diff)
downloadQt-78b2e552cca92859b2c126751ca5fc6fd83dd5cf.zip
Qt-78b2e552cca92859b2c126751ca5fc6fd83dd5cf.tar.gz
Qt-78b2e552cca92859b2c126751ca5fc6fd83dd5cf.tar.bz2
Stabilize tests on X11
Diffstat (limited to 'tests/auto/qlineedit')
-rw-r--r--tests/auto/qlineedit/tst_qlineedit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qlineedit/tst_qlineedit.cpp b/tests/auto/qlineedit/tst_qlineedit.cpp
index 79d1b3a..8b8078b 100644
--- a/tests/auto/qlineedit/tst_qlineedit.cpp
+++ b/tests/auto/qlineedit/tst_qlineedit.cpp
@@ -3360,6 +3360,7 @@ void tst_QLineEdit::task174640_editingFinished()
QApplication::setActiveWindow(&mw);
mw.activateWindow();
QTest::qWaitForWindowShown(&mw);
+ QTRY_COMPARE(&mw, QApplication::activeWindow());
QSignalSpy editingFinishedSpy(le1, SIGNAL(editingFinished()));