summaryrefslogtreecommitdiff
path: root/src/plugins/qmldesigner/qmldesignerconstants.h
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@digia.com>2014-04-09 13:27:47 +0200
committerThomas Hartmann <Thomas.Hartmann@digia.com>2014-04-09 16:17:00 +0200
commit21566e5bd57b66b76a5ce25b599a25131b24a083 (patch)
tree243838d1efd10c52ef4523f6314e866bc31a4cc8 /src/plugins/qmldesigner/qmldesignerconstants.h
parentffec753e8f1c152f3013a0cb917a26c29b8e7530 (diff)
downloadqt-creator-21566e5bd57b66b76a5ce25b599a25131b24a083.tar.gz
QmlDesigner: Use backspace to delete items on Mac OS X
On all platforms backspace will delete the selected item(s), but on Mac OS X the backspace key will be shown as the shortcut in the menu. Just creating the QAction did nothing. Task-number: QTCREATORBUG-10658 Change-Id: I476ee8bd6b03dd7453cbfa1b5814aca9b1c0634d Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/qmldesigner/qmldesignerconstants.h')
-rw-r--r--src/plugins/qmldesigner/qmldesignerconstants.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/qmldesignerconstants.h b/src/plugins/qmldesigner/qmldesignerconstants.h
index 427fdba5ad..7ee8f2e42f 100644
--- a/src/plugins/qmldesigner/qmldesignerconstants.h
+++ b/src/plugins/qmldesigner/qmldesignerconstants.h
@@ -33,6 +33,7 @@
namespace QmlDesigner {
namespace Constants {
+const char C_BACKSPACE[] = "QmlDesigner.Backspace";
const char C_DELETE[] = "QmlDesigner.Delete";
// Context