From 6c2d8908305680a4bc89c249866d5ea8873678cf Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Fri, 22 Apr 2016 10:01:32 +0200 Subject: [PATCH] Show shortcuts in tool tips of debugger tool bar actions These actions are supposed to behave exactly like the ones in the menu, so use these. Change-Id: I21b4a170839ec009d6462d033329cd6fda6b516a Reviewed-by: hjk --- src/plugins/debugger/debuggerplugin.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 5d76bdfb845..cda24e145cd 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -1778,12 +1778,12 @@ bool DebuggerPluginPrivate::initialize(const QStringList &arguments, // Toolbar ToolbarDescription toolbar; toolbar.addAction(m_visibleStartAction); - toolbar.addAction(m_exitAction); - toolbar.addAction(m_nextAction); - toolbar.addAction(m_stepAction); - toolbar.addAction(m_stepOutAction); - toolbar.addAction(m_resetAction); - toolbar.addAction(m_operateByInstructionAction); + toolbar.addAction(ActionManager::command(Constants::STOP)->action()); + toolbar.addAction(ActionManager::command(Constants::NEXT)->action()); + toolbar.addAction(ActionManager::command(Constants::STEP)->action()); + toolbar.addAction(ActionManager::command(Constants::STEPOUT)->action()); + toolbar.addAction(ActionManager::command(Constants::RESET)->action()); + toolbar.addAction(ActionManager::command(Constants::OPERATE_BY_INSTRUCTION)->action()); if (isReverseDebuggingEnabled()) { m_reverseToolButton = new QToolButton;