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:
parent
c8d9b17367
commit
1044f23dee
@ -967,7 +967,7 @@ static QTouchDevice *touchDevice = 0;
|
|||||||
|
|
||||||
if (m_sendKeyEvent && m_composingText.isEmpty())
|
if (m_sendKeyEvent && m_composingText.isEmpty())
|
||||||
QWindowSystemInterface::handleExtendedKeyEvent(m_window, timestamp, QEvent::Type(eventType), keyCode, modifiers,
|
QWindowSystemInterface::handleExtendedKeyEvent(m_window, timestamp, QEvent::Type(eventType), keyCode, modifiers,
|
||||||
nativeScanCode, nativeVirtualKey, nativeModifiers, text);
|
nativeScanCode, nativeVirtualKey, nativeModifiers, text, [nsevent isARepeat]);
|
||||||
|
|
||||||
m_sendKeyEvent = false;
|
m_sendKeyEvent = false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user