summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/debuggerplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r--src/plugins/debugger/debuggerplugin.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp
index 76b3033d68..5f5aa0dd83 100644
--- a/src/plugins/debugger/debuggerplugin.cpp
+++ b/src/plugins/debugger/debuggerplugin.cpp
@@ -375,9 +375,13 @@ QWidget *DumperOptionPage::createPage(QWidget *parent)
m_ui.dumperLocationChooser->setExpectedKind(Core::Utils::PathChooser::Command);
m_ui.dumperLocationChooser->setPromptDialogTitle(tr("Choose Dumper Location"));
+ m_ui.dumperLocationChooser->setInitialBrowsePathBackup(
+ Core::ICore::instance()->resourcePath() + "../../lib");
theDebuggerAction(UsePrebuiltDumpers)
->connectWidget(m_ui.radioButtonUsePrebuiltDumpers);
+ theDebuggerAction(BuildDumpersOnTheFly)
+ ->connectWidget(m_ui.radioButtonBuildDumpersOnTheFly);
theDebuggerAction(PrebuiltDumpersLocation)
->connectWidget(m_ui.dumperLocationChooser);
@@ -410,6 +414,7 @@ void DumperOptionPage::apply()
theDebuggerAction(UseDumpers)->apply(s);
theDebuggerAction(UsePrebuiltDumpers)->apply(s);
+ theDebuggerAction(BuildDumpersOnTheFly)->apply(s);
theDebuggerAction(PrebuiltDumpersLocation)->apply(s);
theDebuggerAction(DebugDumpers)->apply(s);
}
@@ -1019,7 +1024,7 @@ void DebuggerPlugin::focusCurrentEditor(IMode *mode)
void DebuggerPlugin::showSettingsDialog()
{
- Core::ICore::instance()->showOptionsDialog("Debugger", "Gdb");
+ Core::ICore::instance()->showOptionsDialog("Debugger", "General");
}
#include "debuggerplugin.moc"