mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 17:10:44 +08:00
Moved printpoint type into create dialog.
This commit is contained in:
@@ -668,9 +668,6 @@ void SeerMainWindow::handleSettingsConfiguration () {
|
||||
dlg.setGdbHandleTerminatingException(gdbWidget->gdbHandleTerminatingException());
|
||||
dlg.setGdbRandomizeStartAddress(gdbWidget->gdbRandomizeStartAddress());
|
||||
dlg.setGdbEnablePrettyPrinting(gdbWidget->gdbEnablePrettyPrinting());
|
||||
dlg.setDprintfStyle(gdbWidget->dprintfStyle());
|
||||
dlg.setDprintfFunction(gdbWidget->dprintfFunction());
|
||||
dlg.setDprintfChannel(gdbWidget->dprintfChannel());
|
||||
dlg.setEditorFont(gdbWidget->editorManager()->editorFont());
|
||||
dlg.setEditorTabSize(gdbWidget->editorManager()->editorTabSize());
|
||||
dlg.setEditorHighlighterSettings(gdbWidget->editorManager()->editorHighlighterSettings());
|
||||
@@ -714,9 +711,6 @@ void SeerMainWindow::handleSettingsConfiguration () {
|
||||
gdbWidget->setGdbHandleTerminatingException(dlg.gdbHandleTerminatingException());
|
||||
gdbWidget->setGdbRandomizeStartAddress(dlg.gdbRandomizeStartAddress());
|
||||
gdbWidget->setGdbEnablePrettyPrinting(dlg.gdbEnablePrettyPrinting());
|
||||
gdbWidget->setDprintfStyle(dlg.dprintfStyle());
|
||||
gdbWidget->setDprintfFunction(dlg.dprintfFunction());
|
||||
gdbWidget->setDprintfChannel(dlg.dprintfChannel());
|
||||
gdbWidget->editorManager()->setEditorFont(dlg.editorFont());
|
||||
gdbWidget->editorManager()->setEditorTabSize(dlg.editorTabSize());
|
||||
gdbWidget->editorManager()->setEditorHighlighterSettings(dlg.editorHighlighterSettings());
|
||||
@@ -748,9 +742,6 @@ void SeerMainWindow::handleSettingsConfiguration () {
|
||||
gdbWidget->clearManualCommandHistory();
|
||||
}
|
||||
|
||||
// Reset the dprintf, in case it was changed.
|
||||
gdbWidget->resetDprintf();
|
||||
|
||||
// Set the key shortcuts.
|
||||
setKeySettings(dlg.keySettings());
|
||||
}
|
||||
@@ -1284,12 +1275,6 @@ void SeerMainWindow::writeConfigSettings () {
|
||||
settings.setValue("gdbarguments", gdbWidget->rrGdbArguments());
|
||||
} settings.endGroup();
|
||||
|
||||
settings.beginGroup("printpoints"); {
|
||||
settings.setValue("style", gdbWidget->dprintfStyle());
|
||||
settings.setValue("function", gdbWidget->dprintfFunction());
|
||||
settings.setValue("channel", gdbWidget->dprintfChannel());
|
||||
} settings.endGroup();
|
||||
|
||||
settings.beginGroup("editor"); {
|
||||
|
||||
settings.setValue("font", gdbWidget->editorManager()->editorFont().toString());
|
||||
@@ -1366,12 +1351,6 @@ void SeerMainWindow::readConfigSettings () {
|
||||
gdbWidget->setRRGdbArguments(settings.value("gdbarguments", "").toString());
|
||||
} settings.endGroup();
|
||||
|
||||
settings.beginGroup("printpoints"); {
|
||||
gdbWidget->setDprintfStyle(settings.value("style", "gdb").toString());
|
||||
gdbWidget->setDprintfFunction(settings.value("function", "printf").toString());
|
||||
gdbWidget->setDprintfChannel(settings.value("channel", "").toString());
|
||||
} settings.endGroup();
|
||||
|
||||
settings.beginGroup("editor"); {
|
||||
|
||||
QFont f;
|
||||
|
||||
Reference in New Issue
Block a user