summaryrefslogtreecommitdiff
path: root/src/plugins/designer
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@nokia.com>2012-05-22 16:08:40 +0200
committerEike Ziller <eike.ziller@nokia.com>2012-05-22 16:48:20 +0200
commit48a23cc28b04126124cda74670d03d4286afa40d (patch)
tree5d83da71ad3b81ba43f6b4918fbff330076dd774 /src/plugins/designer
parentd8429000f014ed04964948a454a5d6e285646686 (diff)
downloadqt-creator-48a23cc28b04126124cda74670d03d4286afa40d.tar.gz
Mac: Avoid Alt+<character> shortcuts
Because these tend to add special characters into the editor instead of triggering the shortcut. Use Ctrl (aka Qt's Meta) instead. Change-Id: I5866772baf4550e6d048e4d7252b2899a6d28296 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Diffstat (limited to 'src/plugins/designer')
-rw-r--r--src/plugins/designer/formeditorw.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/designer/formeditorw.cpp b/src/plugins/designer/formeditorw.cpp
index 97dad56c45..8f366d70f9 100644
--- a/src/plugins/designer/formeditorw.cpp
+++ b/src/plugins/designer/formeditorw.cpp
@@ -499,7 +499,7 @@ void FormEditorW::setupActions()
//tool actions
m_toolActionIds.push_back(Core::Id("FormEditor.LayoutHorizontally"));
- const QString horizLayoutShortcut = osMac ? tr("Meta+H") : tr("Ctrl+H");
+ const QString horizLayoutShortcut = osMac ? tr("Meta+Shift+H") : tr("Ctrl+H");
addToolAction(m_fwm->actionHorizontalLayout(), am, m_contexts,
m_toolActionIds.back(), mformtools, horizLayoutShortcut);
@@ -521,7 +521,7 @@ void FormEditorW::setupActions()
m_toolActionIds.back(), mformtools);
m_toolActionIds.push_back(Core::Id("FormEditor.LayoutGrid"));
- const QString gridShortcut = osMac ? tr("Meta+G") : tr("Ctrl+G");
+ const QString gridShortcut = osMac ? tr("Meta+Shift+G") : tr("Ctrl+G");
addToolAction(m_fwm->actionGridLayout(), am, m_contexts,
m_toolActionIds.back(), mformtools, gridShortcut);