summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestkeyboard.h
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-02-02 13:12:21 +0100
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-02-02 13:12:21 +0100
commit615534f14ce9e0a9ad872ffe7952bc5c8e0f9534 (patch)
tree2981abe57ad61eb1f28d9b3d188314fb09e0fd87 /src/testlib/qtestkeyboard.h
parent8fd093e47c44f4efc63a80d3ddcdc138afb8230c (diff)
parentba8d3430029d8c4342e9a47c110ee8c9879818f4 (diff)
Merge 5.6 into 5.6.0
Diffstat (limited to 'src/testlib/qtestkeyboard.h')
-rw-r--r--src/testlib/qtestkeyboard.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/testlib/qtestkeyboard.h b/src/testlib/qtestkeyboard.h
index d2b3ef240b..aa117ed7de 100644
--- a/src/testlib/qtestkeyboard.h
+++ b/src/testlib/qtestkeyboard.h
@@ -69,11 +69,7 @@ namespace QTest
QEvent::Type type;
type = press ? QEvent::KeyPress : QEvent::KeyRelease;
qt_handleKeyEvent(window, type, code, modifier, text, repeat, delay);
-#ifdef QT_MAC_USE_COCOA
- QTest::qWait(20);
-#else
qApp->processEvents();
-#endif
}
static void sendKeyEvent(KeyAction action, QWindow *window, Qt::Key code,