DataRecorder tool: interface changed to use config file (#661)

This commit is contained in:
matlabbe
2020-12-13 12:42:58 -05:00
parent 3104dff006
commit d700d09339
3 changed files with 68 additions and 204 deletions

View File

@@ -1428,7 +1428,7 @@ PreferencesDialog::~PreferencesDialog() {
delete _ui;
}
void PreferencesDialog::init()
void PreferencesDialog::init(const QString & iniFilePath)
{
UDEBUG("");
//First set all default values
@@ -1438,7 +1438,7 @@ void PreferencesDialog::init()
this->setParameter(iter->first, iter->second);
}
this->readSettings();
this->readSettings(iniFilePath);
this->writeSettings(getTmpIniFilePath());
_initialized = true;