macOS: Remove shadowed variable in handleKeyEvent
Change-Id: Icf9f9ecf673a10a15a2d0156bcd5c1da3688b591 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
b2e5d54726
commit
8eab4e4850
@ -109,7 +109,6 @@ static bool isSpecialKey(const QString &text)
|
|||||||
|
|
||||||
bool accepted = true;
|
bool accepted = true;
|
||||||
if (m_sendKeyEvent && m_composingText.isEmpty()) {
|
if (m_sendKeyEvent && m_composingText.isEmpty()) {
|
||||||
KeyEvent keyEvent(nsevent);
|
|
||||||
// Trust text input system on whether to send the event with text or not,
|
// Trust text input system on whether to send the event with text or not,
|
||||||
// or otherwise apply heuristics to filter out private use symbols.
|
// or otherwise apply heuristics to filter out private use symbols.
|
||||||
if (didInterpretKeyEvent ? m_sendKeyEventWithoutText : isSpecialKey(keyEvent.text))
|
if (didInterpretKeyEvent ? m_sendKeyEventWithoutText : isSpecialKey(keyEvent.text))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user