Commit d5134640 authored by Michael Brüning's avatar Michael Brüning
Browse files

Fix multiple shortcut events being delivered on macOS

Commit ef1d61a3

 introduced a
regression where multiple shortcut events where delivered on
macOS.

Instead of using tryShortcut (which triggers shortcut events) to check if
the shortcut needs to be overridden, check if the shortcut map has an
entry for the key seqeunce in question.

Task-number: QTBUG-66207
Change-Id: I8d277e2ac39de8a1f2d2c43dc8486e042c4ea458
Reviewed-by: default avatarPeter Varga <pvarga@inf.u-szeged.hu>
parent 5dcdd7c6
Showing with 5 additions and 2 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment