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
37ea6c42
Commit
37ea6c42
authored
Jun 04, 2009
by
hjk
Browse files
debugger: move "start action" to the begin of the menu, also disable Tcf
parent
efc546f8
Changes
1
Show whitespace changes
Inline
Side-by-side
src/plugins/debugger/debuggerplugin.cpp
View file @
37ea6c42
...
...
@@ -594,6 +594,10 @@ bool DebuggerPlugin::initialize(const QStringList &arguments, QString *errorMess
am
->
actionContainer
(
ProjectExplorer
::
Constants
::
M_DEBUG
);
Core
::
Command
*
cmd
=
0
;
cmd
=
am
->
registerAction
(
m_manager
->
m_continueAction
,
ProjectExplorer
::
Constants
::
DEBUG
,
QList
<
int
>
()
<<
m_gdbRunningContext
);
mdebug
->
addAction
(
cmd
,
Core
::
Constants
::
G_DEFAULT_ONE
);
cmd
=
am
->
registerAction
(
m_startExternalAction
,
Constants
::
STARTEXTERNAL
,
globalcontext
);
mdebug
->
addAction
(
cmd
,
Core
::
Constants
::
G_DEFAULT_ONE
);
...
...
@@ -605,19 +609,16 @@ bool DebuggerPlugin::initialize(const QStringList &arguments, QString *errorMess
cmd
=
am
->
registerAction
(
m_attachCoreAction
,
Constants
::
ATTACHCORE
,
globalcontext
);
mdebug
->
addAction
(
cmd
,
Core
::
Constants
::
G_DEFAULT_ONE
);
/*
cmd = am->registerAction(m_attachTcfAction,
Constants::ATTACHTCF, globalcontext);
mdebug->addAction(cmd, Core::Constants::G_DEFAULT_ONE);
*/
cmd
=
am
->
registerAction
(
m_startRemoteAction
,
Constants
::
ATTACHREMOTE
,
globalcontext
);
mdebug
->
addAction
(
cmd
,
Core
::
Constants
::
G_DEFAULT_ONE
);
cmd
=
am
->
registerAction
(
m_manager
->
m_continueAction
,
ProjectExplorer
::
Constants
::
DEBUG
,
QList
<
int
>
()
<<
m_gdbRunningContext
);
mdebug
->
addAction
(
cmd
,
Core
::
Constants
::
G_DEFAULT_ONE
);
cmd
=
am
->
registerAction
(
m_detachAction
,
Constants
::
DETACH
,
globalcontext
);
mdebug
->
addAction
(
cmd
,
Core
::
Constants
::
G_DEFAULT_ONE
);
...
...
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