summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgroupbox
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-09-16 13:34:01 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-09-16 13:46:09 (GMT)
commitc80529584a955bea1b9e49cde0775c9ce53ce1c8 (patch)
treed801eefab2d5e9d420f5612301a1060b361ca972 /tests/auto/qgroupbox
parent51d2e7756e33ee510fdcf53d5e2ae6f96f2b1c70 (diff)
downloadQt-c80529584a955bea1b9e49cde0775c9ce53ce1c8.zip
Qt-c80529584a955bea1b9e49cde0775c9ce53ce1c8.tar.gz
Qt-c80529584a955bea1b9e49cde0775c9ce53ce1c8.tar.bz2
Stabilize tests
Diffstat (limited to 'tests/auto/qgroupbox')
-rw-r--r--tests/auto/qgroupbox/tst_qgroupbox.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qgroupbox/tst_qgroupbox.cpp b/tests/auto/qgroupbox/tst_qgroupbox.cpp
index 5773804..20eec7e 100644
--- a/tests/auto/qgroupbox/tst_qgroupbox.cpp
+++ b/tests/auto/qgroupbox/tst_qgroupbox.cpp
@@ -467,6 +467,7 @@ void tst_QGroupBox::propagateFocus()
QGroupBox box;
QLineEdit lineEdit(&box);
box.show();
+ QApplication::setActiveWindow(&box);
box.setFocus();
QTest::qWait(250);
QTRY_COMPARE(qApp->focusWidget(), static_cast<QWidget*>(&lineEdit));