summaryrefslogtreecommitdiffstats
path: root/tests/auto/qlineedit/tst_qlineedit.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-10-05 13:43:45 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-10-05 14:13:52 (GMT)
commiteda93b795b044542a4247a086e4c2eed454123e4 (patch)
tree60f6a0356453f4553a34e8218bc39892443be0b0 /tests/auto/qlineedit/tst_qlineedit.cpp
parent3e574dc0d1b7b2ac351bdf077b86979c85de7972 (diff)
downloadQt-eda93b795b044542a4247a086e4c2eed454123e4.zip
Qt-eda93b795b044542a4247a086e4c2eed454123e4.tar.gz
Qt-eda93b795b044542a4247a086e4c2eed454123e4.tar.bz2
Test fix on Mac
Diffstat (limited to 'tests/auto/qlineedit/tst_qlineedit.cpp')
-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 1417e69..8368114 100644
--- a/tests/auto/qlineedit/tst_qlineedit.cpp
+++ b/tests/auto/qlineedit/tst_qlineedit.cpp
@@ -3493,6 +3493,7 @@ void tst_QLineEdit::task241436_passwordEchoOnEditRestoreEchoMode()
testWidget->setEchoMode(QLineEdit::PasswordEchoOnEdit);
testWidget->setFocus();
+ QApplication::setActiveWindow(testWidget);
QTRY_VERIFY(testWidget->hasFocus());
QTest::keyPress(testWidget, '0');