diff options
author | Jüri Valdmann <juri.valdmann@qt.io> | 2018-07-30 12:46:37 +0200 |
---|---|---|
committer | Jüri Valdmann <juri.valdmann@qt.io> | 2018-08-27 14:30:08 +0000 |
commit | e9e79c3f90eed42843b9fc5f7c9dfa40f4cb46a7 (patch) | |
tree | b7b0c7d026338d390ce665e2ec5fd09c272c3b4f /tests/auto/widgets/qwebengineview | |
parent | dabf39eb6751725224e2d66e1392a590de0527a4 (diff) |
WebEventFactory: Fix WebKeyboardEvent::dom_code on macOS
Currently this field is always computed from QKeyEvent::nativeScanCode, but this
is not correct on macOS where nativeVirtualKey should be used instead (there is
no nativeScanCode on macOS). Fix by using native_key_code which already takes
this into account.
Task-number: QTBUG-69442
Change-Id: I7c99d7d147ab68bac7ab91101de173eb04fa5c03
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'tests/auto/widgets/qwebengineview')
0 files changed, 0 insertions, 0 deletions