mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
DataRecorder tool: interface changed to use config file (#661)
This commit is contained in:
@@ -120,7 +120,7 @@ public:
|
||||
|
||||
virtual QString getIniFilePath() const;
|
||||
virtual QString getTmpIniFilePath() const;
|
||||
void init();
|
||||
void init(const QString & iniFilePath = "");
|
||||
void setCurrentPanelToSource();
|
||||
virtual QString getDefaultWorkingDirectory() const;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user