summaryrefslogtreecommitdiffstats
path: root/tests/auto/qspinbox
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qspinbox')
-rw-r--r--tests/auto/qspinbox/tst_qspinbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qspinbox/tst_qspinbox.cpp b/tests/auto/qspinbox/tst_qspinbox.cpp
index 80f185a..69347c4 100644
--- a/tests/auto/qspinbox/tst_qspinbox.cpp
+++ b/tests/auto/qspinbox/tst_qspinbox.cpp
@@ -752,8 +752,8 @@ void tst_QSpinBox::editingFinished()
testFocusWidget->show();
QApplication::setActiveWindow(testFocusWidget);
+ QTest::qWaitForWindowShown(testFocusWidget);
box->activateWindow();
- QTest::qWait(100);//qApp->processEvents();
box->setFocus();
QTRY_COMPARE(qApp->focusWidget(), box);