diff options
author | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2010-05-04 11:59:27 (GMT) |
---|---|---|
committer | Qt Commercial Integration <QtCommercial@digia.com> | 2012-01-31 10:24:49 (GMT) |
commit | 2aa4384cca06ea84ba6edf77c6a2d65c8800a7b3 (patch) | |
tree | 9eff41d818828fb90732100a6dd7a66b7d2881ba /src/gui/widgets/qtextbrowser.h | |
parent | bd42cec380ea2f5a91632377111edced7edac901 (diff) | |
download | Qt-2aa4384cca06ea84ba6edf77c6a2d65c8800a7b3.zip Qt-2aa4384cca06ea84ba6edf77c6a2d65c8800a7b3.tar.gz Qt-2aa4384cca06ea84ba6edf77c6a2d65c8800a7b3.tar.bz2 |
Cocoa: QShortcut(Qt::Key_Enter) does not show in the menu bar
The reason is that cocoa expects the unicode control character for
"enter", rather than the glyph showing an arrow. So rather than
using the glyph-table from QKeySequence, we should use a table
containing a mapping from Qt::Key to Cocoa control key. Luckily,
such a table exists allready in qt_cocoa_helpers, but reversed (
cocoa key to Qt::Key). So this patch creates a function that
binds all this together.
Reviewed-by: cduclos
Diffstat (limited to 'src/gui/widgets/qtextbrowser.h')
0 files changed, 0 insertions, 0 deletions