diff options
author | Michael Brüning <michael.bruning@qt.io> | 2020-08-24 18:07:23 +0200 |
---|---|---|
committer | Michael Brüning <michael.bruning@qt.io> | 2020-09-10 17:33:21 +0200 |
commit | ac310d5b23b56a217c408f8ee549c36f73c7a437 (patch) | |
tree | b44fe4e85c3ec6feb7d7516336d44691c1c77ad4 /qmake/library/proitems.cpp | |
parent | a4e4436e852c600a7ecd13b83fc487164dbc5ad7 (diff) |
[macOS] Add native virtual key code to modifier keys
Not forwarding the native virtual key code when sending key events
in the flagsChanged handler caused a number of problems, e.g. the
inability to determine which of the Alt or Shift keys were pressed.
Use handleExtendedKeyEvent to include the native virtual key code.
Patch inspired by Nyan Pasu.
Fixes: QTBUG-69608
Change-Id: I15e9ff1069528d4b50ee4638ab2d8a6fd279db0b
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'qmake/library/proitems.cpp')
0 files changed, 0 insertions, 0 deletions