forked from qt-creator/qt-creator
Mac: Sanitize shortcuts.
Task-number: QTCREATORBUG-7446 Change-Id: Ibad8f06e5f65bc01dc9fca6e9d900e24c5fc55a1 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
This commit is contained in:
@@ -274,7 +274,7 @@ void TextEditorActionHandler::createActions()
|
||||
|
||||
m_resetFontSizeAction = new QAction(tr("Reset Font Size"), this);
|
||||
command = Core::ActionManager::registerAction(m_resetFontSizeAction, Constants::RESET_FONT_SIZE, m_contextId);
|
||||
command->setDefaultKeySequence(QKeySequence(Core::UseMacShortcuts ? QString() : tr("Ctrl+0")));
|
||||
command->setDefaultKeySequence(QKeySequence(Core::UseMacShortcuts ? tr("Meta+0") : tr("Ctrl+0")));
|
||||
connect(m_resetFontSizeAction, SIGNAL(triggered()), this, SLOT(resetFontSize()));
|
||||
advancedMenu->addAction(command, Core::Constants::G_EDIT_FONT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user