From: con Date: Thu, 13 Jan 2011 16:35:19 +0000 (+0100) Subject: Make Shift+F5 for interrupting/stopping debugger work again. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=0d6d420735322f39b116de695302a23983b3ff04;p=qt-creator-jp%2Fqt-creator-jp.git Make Shift+F5 for interrupting/stopping debugger work again. --- diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 768ce65022..fc80d806b1 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -2867,6 +2867,7 @@ void DebuggerPluginPrivate::extensionsInitialized() cmd = am->registerAction(m_actions.interruptAction, Constants::INTERRUPT, globalcontext); cmd->setDefaultText(tr("Interrupt Debugger")); + cmd->setDefaultKeySequence(QKeySequence(Constants::STOP_KEY)); debugMenu->addAction(cmd, CC::G_DEFAULT_ONE); cmd = am->registerAction(m_actions.continueAction, @@ -2876,7 +2877,7 @@ void DebuggerPluginPrivate::extensionsInitialized() cmd = am->registerAction(m_actions.exitAction, Constants::STOP, globalcontext); - //cmd->setDefaultKeySequence(QKeySequence(Constants::STOP_KEY)); + cmd->setDefaultKeySequence(QKeySequence(Constants::STOP_KEY)); cmd->setDefaultText(tr("Stop Debugger")); debugMenu->addAction(cmd, CC::G_DEFAULT_ONE);