diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2017-05-29 13:19:03 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2017-06-08 11:12:36 +0000 |
commit | 532cc891fdad5e329bb31724f527bfba1e2e8a44 (patch) | |
tree | 35c62428a36f2fb67bb5ee731a40c671cb03c0cf /src/webenginewidgets/doc | |
parent | 9da1f08d224bc94f81ae72c4353bf234af6f8592 (diff) |
Override shortcuts only when an HTML input field has focus
Otherwise an application shortcut like Shift+Delete would no longer
work when webengine has focus (e.g. "delete mail" in KMail)
This removes unconditional calls to editorActionForKeyEvent for
ShortcutOverride event handling. We can remove those, because the key
sequences that are checked by editorActionForKeyEvent are a subset of
the key sequences checked by isCommonTextEditShortcut.
This amends commit 3902b27e.
Change-Id: I12a98368381edef36f11457c8b864d843efb871a
Reviewed-by: David Faure <david.faure@kdab.com>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/webenginewidgets/doc')
0 files changed, 0 insertions, 0 deletions