forked from qt-creator/qt-creator
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 <hjk@theqtcompany.com>
This commit is contained in:
@@ -1778,12 +1778,12 @@ bool DebuggerPluginPrivate::initialize(const QStringList &arguments,
|
|||||||
// Toolbar
|
// Toolbar
|
||||||
ToolbarDescription toolbar;
|
ToolbarDescription toolbar;
|
||||||
toolbar.addAction(m_visibleStartAction);
|
toolbar.addAction(m_visibleStartAction);
|
||||||
toolbar.addAction(m_exitAction);
|
toolbar.addAction(ActionManager::command(Constants::STOP)->action());
|
||||||
toolbar.addAction(m_nextAction);
|
toolbar.addAction(ActionManager::command(Constants::NEXT)->action());
|
||||||
toolbar.addAction(m_stepAction);
|
toolbar.addAction(ActionManager::command(Constants::STEP)->action());
|
||||||
toolbar.addAction(m_stepOutAction);
|
toolbar.addAction(ActionManager::command(Constants::STEPOUT)->action());
|
||||||
toolbar.addAction(m_resetAction);
|
toolbar.addAction(ActionManager::command(Constants::RESET)->action());
|
||||||
toolbar.addAction(m_operateByInstructionAction);
|
toolbar.addAction(ActionManager::command(Constants::OPERATE_BY_INSTRUCTION)->action());
|
||||||
|
|
||||||
if (isReverseDebuggingEnabled()) {
|
if (isReverseDebuggingEnabled()) {
|
||||||
m_reverseToolButton = new QToolButton;
|
m_reverseToolButton = new QToolButton;
|
||||||
|
Reference in New Issue
Block a user