Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
1162f1eb
Commit
1162f1eb
authored
Feb 09, 2011
by
hjk
Browse files
debugger: action name cosmetic
No need to add random '1' if there's only one.
parent
35ce2acd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/debuggerplugin.cpp
View file @
1162f1eb
...
...
@@ -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_LINE
1
,
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_LINE
1
,
cppDebuggercontext
);
Constants
::
JUMP_TO_LINE
,
cppDebuggercontext
);
cmd
->
setAttribute
(
Command
::
CA_Hide
);
debugMenu
->
addAction
(
cmd
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment