summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtesttouch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/testlib/qtesttouch.h')
-rw-r--r--src/testlib/qtesttouch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testlib/qtesttouch.h b/src/testlib/qtesttouch.h
index bdc964389e..2c57bf0420 100644
--- a/src/testlib/qtesttouch.h
+++ b/src/testlib/qtesttouch.h
@@ -129,6 +129,7 @@ namespace QTest
void commit(bool processEvents = true)
{
if (!points.isEmpty()) {
+ qSleep(1);
if (targetWindow)
{
qt_handleTouchEvent(targetWindow, device, points.values());