diff options
author | Andreas Buhr <andreas@andreasbuhr.de> | 2021-01-13 15:29:32 +0100 |
---|---|---|
committer | Andreas Buhr <andreas@andreasbuhr.de> | 2021-01-15 15:33:10 +0100 |
commit | 6511b17038627ac30cb6622b13c7d46d9877bac5 (patch) | |
tree | 56e1f1be89c8008e24db7ed42533e9cfb171d85c /src/qml/doc/snippets/code | |
parent | 2b15a1fbe2f26a090f79ab5aa238f375bc67fda3 (diff) | |
download | qtdeclarative-6511b17038627ac30cb6622b13c7d46d9877bac5.tar.gz |
Change QQuickShortcut::setSequences to bind to all sequences
When binding a Shortcut to a standard key sequence like
QKeySequence::FullScreen, it binds only to one key
sequence, even though there might be multiple key sequences
associated.
This patch changes the code to emit a warning in this case
and allows to bind to multiple key sequences using
'sequences: [ <key> ]'.
Fixes: QTBUG-88682
Pick-to: 6.0 5.15
Change-Id: I88998aa8858d8f2c0c86e46bae94afd7ceb15b66
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions