From 48a23cc28b04126124cda74670d03d4286afa40d Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Tue, 22 May 2012 16:08:40 +0200 Subject: Mac: Avoid Alt+ 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 --- src/plugins/designer/formeditorw.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/designer') 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); -- cgit v1.2.1