diff options
author | Andy Shaw <andy.shaw@qt.io> | 2020-10-08 16:20:22 +0200 |
---|---|---|
committer | Andy Shaw <andy.shaw@qt.io> | 2020-10-08 18:43:24 +0200 |
commit | 746358e855613de5401f5be867365188a19e4800 (patch) | |
tree | ec5f7f0309bcbaff53142f4a69926c8655e0b2bc /src/imports/controls/imagine/impl/qtquickcontrols2imaginestyleimplplugin.cpp | |
parent | e1d2073ddbd81e926640babe94e6d64076ce8eaa (diff) |
Only add a shortcut if the sequence is not empty
If the sequence is empty then reset m_shortcutId to -1 so it does not
have a shortcut attached to it.
Change-Id: I16945950145d9d3ca7da73e998b28d64997501d0
Pick-to: 5.15
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls/imagine/impl/qtquickcontrols2imaginestyleimplplugin.cpp')
0 files changed, 0 insertions, 0 deletions