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
0dd7ba2d
Commit
0dd7ba2d
authored
Feb 22, 2011
by
hjk
Browse files
debugger: save settings on saveSettingsRequested
parent
fcec3a06
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/debuggerplugin.cpp
View file @
0dd7ba2d
...
...
@@ -785,6 +785,13 @@ public:
DebuggerEngine
*
currentEngine
()
const
{
return
m_currentEngine
;
}
public
slots
:
void
writeSettings
()
{
m_debuggerSettings
->
writeSettings
();
m_mainWindow
->
writeSettings
();
GdbOptionsPage
::
writeGdbSettings
();
}
void
selectThread
(
int
index
)
{
currentEngine
()
->
selectThread
(
index
);
...
...
@@ -3052,6 +3059,9 @@ void DebuggerPluginPrivate::extensionsInitialized()
// Connections
//
// Core
connect
(
core
,
SIGNAL
(
saveSettingsRequested
()),
SLOT
(
writeSettings
()));
// TextEditor
connect
(
TextEditorSettings
::
instance
(),
SIGNAL
(
fontSettingsChanged
(
TextEditor
::
FontSettings
)),
...
...
@@ -3177,9 +3187,6 @@ void DebuggerPluginPrivate::aboutToShutdown()
disconnect
(
sessionManager
(),
SIGNAL
(
startupProjectChanged
(
ProjectExplorer
::
Project
*
)),
this
,
0
);
m_debuggerSettings
->
writeSettings
();
m_mainWindow
->
writeSettings
();
GdbOptionsPage
::
writeGdbSettings
();
}
}
// namespace Internal
...
...
src/plugins/debugger/gdb/gdboptionspage.cpp
View file @
0dd7ba2d
...
...
@@ -170,7 +170,6 @@ void GdbOptionsPage::readGdbSettings() /* static */
void
GdbOptionsPage
::
writeGdbSettings
()
/* static */
{
// FIXME: This should actually get called in response to ICore::saveSettingsRequested()
if
(
!
gdbMappingChanged
)
return
;
...
...
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