qnsview_keys - fix a typo
that resulted in 'Cmd' reported as combo of Qt::Meta/Qt::Control and Qt::KeypadModifier. Task-number: QTBUG-71006 Change-Id: I3dddc56f4d404a1ceefb21d57ac120b6273456ec Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>bb10
parent
bbe08d6b68
commit
656e89f875
|
|
@ -53,7 +53,7 @@
|
|||
qtMods |= Qt::AltModifier;
|
||||
if (modifierFlags & NSEventModifierFlagCommand)
|
||||
qtMods |= dontSwapCtrlAndMeta ? Qt::MetaModifier : Qt::ControlModifier;
|
||||
if (modifierFlags & NSEventModifierFlagCommand)
|
||||
if (modifierFlags & NSEventModifierFlagNumericPad)
|
||||
qtMods |= Qt::KeypadModifier;
|
||||
return qtMods;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue