diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2021-08-25 13:34:16 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2021-08-26 14:53:03 +0200 |
commit | e68bf3ddaf4ecf6b1b711f505c8a40c858769044 (patch) | |
tree | 01139c2262228afe92106bbd1d306f11e8739c32 /src/network/access | |
parent | 146bc0e6077c5e790d69344a373b7a978f745d31 (diff) |
macOS: Modernize and clean up key event handling
- Pass key event type as QEvent::Type
- Use proper type for NSEventModifierFlags
- Use modern Objective-C property access in key handler
- Modernize flagsChanged implementation using ranged-for
- Use explicit Qt::Key type in key handling
- Add FIXME comments for dubious code
Pick-to: 6.2
Change-Id: I533e0a5685108dc3cdccd2b276b4eb7a729d172e
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/network/access')
0 files changed, 0 insertions, 0 deletions