diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-16 13:34:01 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-16 13:46:09 (GMT) |
commit | c80529584a955bea1b9e49cde0775c9ce53ce1c8 (patch) | |
tree | d801eefab2d5e9d420f5612301a1060b361ca972 /tests/auto/qlineedit/tst_qlineedit.cpp | |
parent | 51d2e7756e33ee510fdcf53d5e2ae6f96f2b1c70 (diff) | |
download | Qt-c80529584a955bea1b9e49cde0775c9ce53ce1c8.zip Qt-c80529584a955bea1b9e49cde0775c9ce53ce1c8.tar.gz Qt-c80529584a955bea1b9e49cde0775c9ce53ce1c8.tar.bz2 |
Stabilize tests
Diffstat (limited to 'tests/auto/qlineedit/tst_qlineedit.cpp')
-rw-r--r-- | tests/auto/qlineedit/tst_qlineedit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qlineedit/tst_qlineedit.cpp b/tests/auto/qlineedit/tst_qlineedit.cpp index 3a81212..1417e69 100644 --- a/tests/auto/qlineedit/tst_qlineedit.cpp +++ b/tests/auto/qlineedit/tst_qlineedit.cpp @@ -339,6 +339,7 @@ void tst_QLineEdit::initTestCase() testWidget->resize(200,50); testWidget->show(); + QApplication::setActiveWindow(testWidget); #ifdef Q_WS_X11 // to be safe and avoid failing setFocus with window managers qt_x11_wait_for_window_manager(testWidget); |