From 1162f1ebca26a75309ecfca5330fbefe5fc07896 Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 9 Feb 2011 14:42:55 +0100 Subject: [PATCH] debugger: action name cosmetic No need to add random '1' if there's only one. --- src/plugins/debugger/debuggerplugin.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 58f5a60e3f4..c4cd95a06f4 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -380,11 +380,9 @@ const char * const ATTACHREMOTECDB = "Debugger.AttachRemoteCDB"; const char * const STARTREMOTELLDB = "Debugger.StartRemoteLLDB"; const char * const DETACH = "Debugger.Detach"; -const char * const RUN_TO_LINE1 = "Debugger.RunToLine1"; -const char * const RUN_TO_LINE2 = "Debugger.RunToLine2"; +const char * const RUN_TO_LINE = "Debugger.RunToLine"; const char * const RUN_TO_SELECTED_FUNCTION = "Debugger.RunToSelectedFunction"; -const char * const JUMP_TO_LINE1 = "Debugger.JumpToLine1"; -const char * const JUMP_TO_LINE2 = "Debugger.JumpToLine2"; +const char * const JUMP_TO_LINE = "Debugger.JumpToLine"; const char * const RETURN_FROM_FUNCTION = "Debugger.ReturnFromFunction"; const char * const SNAPSHOT = "Debugger.Snapshot"; const char * const TOGGLE_BREAK = "Debugger.ToggleBreak"; @@ -2946,7 +2944,7 @@ void DebuggerPluginPrivate::extensionsInitialized() debugMenu->addAction(cmd); cmd = am->registerAction(m_runToLineAction, - Constants::RUN_TO_LINE1, cppDebuggercontext); + Constants::RUN_TO_LINE, cppDebuggercontext); cmd->setDefaultKeySequence(QKeySequence(Constants::RUN_TO_LINE_KEY)); cmd->setAttribute(Command::CA_Hide); debugMenu->addAction(cmd); @@ -2961,7 +2959,7 @@ void DebuggerPluginPrivate::extensionsInitialized() // debugMenu->addAction(cmd); cmd = am->registerAction(m_jumpToLineAction, - Constants::JUMP_TO_LINE1, cppDebuggercontext); + Constants::JUMP_TO_LINE, cppDebuggercontext); cmd->setAttribute(Command::CA_Hide); debugMenu->addAction(cmd);