diff --git a/src/plugins/help/helpplugin.cpp b/src/plugins/help/helpplugin.cpp index ed84f8425403058af40ab6be32888eca785354c7..721ff6785d1b794941bbc878c7dbd9b10762fa1d 100644 --- a/src/plugins/help/helpplugin.cpp +++ b/src/plugins/help/helpplugin.cpp @@ -243,7 +243,9 @@ bool HelpPlugin::initialize(const QStringList &arguments, QString *error) action = new QAction(tr("Reset Font Size"), this); cmd = am->registerAction(action, TextEditor::Constants::RESET_FONT_SIZE, modecontext); +#ifndef Q_WS_MAC cmd->setDefaultKeySequence(QKeySequence(tr("Ctrl+0"))); +#endif connect(action, SIGNAL(triggered()), m_centralWidget, SLOT(resetZoom())); advancedMenu->addAction(cmd, Core::Constants::G_EDIT_FONT); } diff --git a/src/plugins/texteditor/texteditoractionhandler.cpp b/src/plugins/texteditor/texteditoractionhandler.cpp index 17687f245f6570446dc96bfed96fde41fa2feb45..db0c1ffcb16d75d6a99d67467e19e7b4082c8897 100644 --- a/src/plugins/texteditor/texteditoractionhandler.cpp +++ b/src/plugins/texteditor/texteditoractionhandler.cpp @@ -229,7 +229,9 @@ void TextEditorActionHandler::createActions() m_resetFontSizeAction = new QAction(tr("Reset Font Size"), this); command = am->registerAction(m_resetFontSizeAction, Constants::RESET_FONT_SIZE, m_contextId); +#ifndef Q_WS_MAC command->setDefaultKeySequence(QKeySequence(tr("Ctrl+0"))); +#endif connect(m_resetFontSizeAction, SIGNAL(triggered()), this, SLOT(resetFontSize())); advancedMenu->addAction(command, Core::Constants::G_EDIT_FONT);