Fix QKeyEvent::isAutoRepeat on Mac

Task-number: QTBUG-21500
Change-Id: Ifed85ddcdecd30453207728b0f376baa2abf6e66
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
This commit is contained in:
Gatis Paeglis 2013-08-07 17:15:49 +02:00 committed by The Qt Project
parent c8d9b17367
commit 1044f23dee

View File

@ -967,7 +967,7 @@ static QTouchDevice *touchDevice = 0;
if (m_sendKeyEvent && m_composingText.isEmpty())
QWindowSystemInterface::handleExtendedKeyEvent(m_window, timestamp, QEvent::Type(eventType), keyCode, modifiers,
nativeScanCode, nativeVirtualKey, nativeModifiers, text);
nativeScanCode, nativeVirtualKey, nativeModifiers, text, [nsevent isARepeat]);
m_sendKeyEvent = false;
}