diff options
author | Jani Honkonen <jani.honkonen@digia.com> | 2012-02-03 15:04:32 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-31 20:21:28 (GMT) |
commit | 6265ac63fe85e1ff8b2d9ca3d023b3a1a8b281f0 (patch) | |
tree | 2f46656282e5d33917ae8cf2807cbd30963e4d31 /LGPL_EXCEPTION.txt | |
parent | 1dddfaa82cadd782366ba7dc9d0995b6c9865a24 (diff) | |
download | Qt-6265ac63fe85e1ff8b2d9ca3d023b3a1a8b281f0.zip Qt-6265ac63fe85e1ff8b2d9ca3d023b3a1a8b281f0.tar.gz Qt-6265ac63fe85e1ff8b2d9ca3d023b3a1a8b281f0.tar.bz2 |
Fix limitting shortcuts to keypad only
The Qt::KeypadModifier modifier is internally masked away from all
shortcuts. So it is not possible to set a keypad only shortcut.
Changed the implementation so that first a full keysequence match is
searched. Then if no match is found the same sequence is tried
without the keypad modifer.
Added a autotest for this also to cover the basic use cases relating
to this.
This is a backport of qt5 commit:
547a1bea492954d828aa0798be93384669812489
Task-number: QTBUG-20191
Change-Id: Ibb6809050ff6da23bdb1c087b93e517d1963d34c
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'LGPL_EXCEPTION.txt')
0 files changed, 0 insertions, 0 deletions