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
599b2438
Commit
599b2438
authored
Feb 17, 2009
by
hjk
Browse files
Fixes: debugger: enable debugger view actions even if "locked"
parent
fcd74e54
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/debuggermanager.cpp
View file @
599b2438
...
...
@@ -490,9 +490,11 @@ void DebuggerManager::setSimpleDockWidgetArrangement()
m_mainWindow
->
tabifyDockWidget
(
m_watchDock
,
m_outputDock
);
m_mainWindow
->
tabifyDockWidget
(
m_watchDock
,
m_registerDock
);
m_mainWindow
->
tabifyDockWidget
(
m_watchDock
,
m_threadsDock
);
m_mainWindow
->
tabifyDockWidget
(
m_watchDock
,
m_sourceFilesDock
);
// They are rarely used even in ordinary debugging. Hiding them also saves
// cycles since the corresponding information won't be retrieved.
m_sourceFilesDock
->
hide
();
m_registerDock
->
hide
();
m_disassemblerDock
->
hide
();
m_modulesDock
->
hide
();
...
...
@@ -515,6 +517,7 @@ void DebuggerManager::setLocked(bool locked)
}
dockWidget
->
setTitleBarWidget
(
titleBarWidget
);
dockWidget
->
setFeatures
(
features
);
dockWidget
->
toggleViewAction
()
->
setEnabled
(
true
);
}
}
...
...
src/plugins/debugger/debuggerplugin.cpp
View file @
599b2438
...
...
@@ -453,7 +453,7 @@ bool DebuggerPlugin::initialize(const QStringList &arguments, QString *error_mes
#endif
cmd
=
am
->
registerAction
(
m_manager
->
m_continueAction
,
ProjectExplorer
::
Constants
::
DEBUG
,
QList
<
int
>
()
<<
m_gdbRunningContext
);
ProjectExplorer
::
Constants
::
DEBUG
,
QList
<
int
>
()
<<
m_gdbRunningContext
);
cmd
=
am
->
registerAction
(
m_manager
->
m_stopAction
,
Constants
::
INTERRUPT
,
globalcontext
);
...
...
Write
Preview
Markdown
is supported
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