diff options
author | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2010-11-11 11:29:44 (GMT) |
---|---|---|
committer | Qt Commercial Integration <QtCommercial@digia.com> | 2012-01-31 10:24:49 (GMT) |
commit | bd42cec380ea2f5a91632377111edced7edac901 (patch) | |
tree | 5c975848877763bde1539eca0a6fea7e0719c9fb /src/gui/widgets/qtoolbutton.cpp | |
parent | 5523cb9d8248494a6b00d2cc5e8b37fdc595af1e (diff) | |
download | Qt-bd42cec380ea2f5a91632377111edced7edac901.zip Qt-bd42cec380ea2f5a91632377111edced7edac901.tar.gz Qt-bd42cec380ea2f5a91632377111edced7edac901.tar.bz2 |
ShortcutOverride has no effect on some shortcuts on Mac OS X (Cocoa).
When generating the native key sequences for menu items, Qt prefers the
non private unicode characters. But the characters in the NSEvent for
keyboard events can contain characters form the unicode range reserved
for Apple.
For e.g. when user presses the "delete" key, the event contains
NSDeleteFunctionKey, where in Qt is expecting NSDeleteCharacter. For now
this is the only key identified for translation. If we find similar
translations, those can be added to qt_mac_removePrivateUnicode().
Task-number: QTBUG-12495
Reviewed-by: Denis
Diffstat (limited to 'src/gui/widgets/qtoolbutton.cpp')
0 files changed, 0 insertions, 0 deletions