summaryrefslogtreecommitdiffstats
path: root/tests/auto/qinputcontext
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2010-11-01 18:38:20 (GMT)
committeraxis <qt-info@nokia.com>2010-11-05 09:24:08 (GMT)
commite6ad4d01e1ff483f5ed81168ffa4500deaf69954 (patch)
tree071441c3d5a95dd7018b7d10149a9230dafb02c0 /tests/auto/qinputcontext
parente7d505e35666393ea965e41c59742f609344e858 (diff)
downloadQt-e6ad4d01e1ff483f5ed81168ffa4500deaf69954.zip
Qt-e6ad4d01e1ff483f5ed81168ffa4500deaf69954.tar.gz
Qt-e6ad4d01e1ff483f5ed81168ffa4500deaf69954.tar.bz2
Fixed test after the fix to QT-4077.
Since the events are balanced now, we need to give them time to get through. RevBy: Trust me
Diffstat (limited to 'tests/auto/qinputcontext')
-rw-r--r--tests/auto/qinputcontext/tst_qinputcontext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qinputcontext/tst_qinputcontext.cpp b/tests/auto/qinputcontext/tst_qinputcontext.cpp
index 7811a53..5a258a9 100644
--- a/tests/auto/qinputcontext/tst_qinputcontext.cpp
+++ b/tests/auto/qinputcontext/tst_qinputcontext.cpp
@@ -158,8 +158,8 @@ public:
}
// For some reason, the test fails if using processEvents instead of an event loop
- // with a zero timer to quit it, so use the timer.
-#define KEY_WAIT 0
+ // with a timer to quit it, so use the timer.
+#define KEY_WAIT 10
void replay(QWidget *w)
{