mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Fixed ini configuration file encoding bug (unicode vs native, maybe only appeared on Linux)
git-svn-id: http://rtabmap.googlecode.com/svn/branches/0.3/rtabmap@91 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -204,7 +204,6 @@ PreferencesDialog::PreferencesDialog(QWidget * parent) :
|
||||
_ui->treeView->expandToDepth(1);
|
||||
|
||||
_obsoletePanels = kPanelAll;
|
||||
_initialized = true;
|
||||
|
||||
_progressDialog = new QProgressDialog(this);
|
||||
_progressDialog->setWindowTitle(tr("Read parameters..."));
|
||||
@@ -947,13 +946,14 @@ void PreferencesDialog::selectSource(Src src)
|
||||
}
|
||||
else
|
||||
{
|
||||
this->readSettings();
|
||||
this->readSettingsBegin();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void PreferencesDialog::setParameter(const std::string & key, const std::string & value)
|
||||
{
|
||||
UDEBUG("%s=%s", key.c_str(), value.c_str());
|
||||
QObject * obj = _ui->stackedWidget->findChild<QObject*>(key.c_str());
|
||||
if(obj)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user