Skip to content
Snippets Groups Projects
Commit d652c211 authored by hjk's avatar hjk
Browse files

debugger: compile fix

parent 3fcf39a7
No related branches found
No related tags found
No related merge requests found
......@@ -96,6 +96,12 @@ QIcon CommonOptionsPage::categoryIcon() const
void CommonOptionsPage::apply()
{
m_group.apply(ICore::instance()->settings());
if (m_ui.debuggerChooserWidget->isDirty()) {
//m_abiToDebuggerMap = m_ui.debuggerChooserWidget->debuggerMapping();
m_ui.debuggerChooserWidget->setDebuggerMapping(m_abiToDebuggerMap);
m_abiToDebuggerMapChanged = true;
}
}
void CommonOptionsPage::finish()
......@@ -196,7 +202,7 @@ QWidget *CommonOptionsPage::createPage(QWidget *parent)
foreach (const QString &key, toRemove)
m_abiToDebuggerMap.remove(key);
//m_ui->gdbChooserWidget->setGdbMapping(m_abiToDebuggerMap);
m_ui.debuggerChooserWidget->setDebuggerMapping(m_abiToDebuggerMap);
return w;
}
......@@ -416,16 +422,6 @@ QIcon DebuggingHelperOptionPage::categoryIcon() const
void DebuggingHelperOptionPage::apply()
{
m_group.apply(ICore::instance()->settings());
/*
if (!m_ui) // page never shown
return;
if (m_ui->gdbChooserWidget->isDirty()) {
//m_abiToDebuggerMap = m_ui->gdbChooserWidget->gdbMapping();
m_ui->gdbChooserWidget->setGdbMapping(m_abiToDebuggerMap);
gdbMappingChanged = true;
}
*/
}
void DebuggingHelperOptionPage::finish()
......
......@@ -204,12 +204,6 @@ on slow machines. In this case, the value should be increased.</string>
<header location="global">utils/pathchooser.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>Debugger::Internal::GdbChooserWidget</class>
<extends>QWidget</extends>
<header>gdb/gdbchooserwidget.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources/>
<connections/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment