From f4a4c5d8c34cbe97f5dbf0705df01256141c7922 Mon Sep 17 00:00:00 2001 From: matlabbe Date: Tue, 21 Jun 2011 21:59:02 +0000 Subject: [PATCH] Fixed: the LoggerPauseLevel was not saved when it is the only parameter changed in the panel. git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@228 f169173b-cf89-36c8-b27e-44dbe73f0c83 --- guilib/src/PreferencesDialog.cpp | 1 + guilib/src/ui/preferencesDialog.ui | 13 +++++-------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/guilib/src/PreferencesDialog.cpp b/guilib/src/PreferencesDialog.cpp index ac325643..787be6b5 100644 --- a/guilib/src/PreferencesDialog.cpp +++ b/guilib/src/PreferencesDialog.cpp @@ -69,6 +69,7 @@ PreferencesDialog::PreferencesDialog(QWidget * parent) : connect(_ui->general_checkBox_imagesKept, SIGNAL(stateChanged(int)), this, SLOT(makeObsoleteGeneralPanel())); connect(_ui->comboBox_loggerLevel, SIGNAL(currentIndexChanged(int)), this, SLOT(makeObsoleteGeneralPanel())); connect(_ui->comboBox_loggerEventLevel, SIGNAL(currentIndexChanged(int)), this, SLOT(makeObsoleteGeneralPanel())); + connect(_ui->comboBox_loggerPauseLevel, SIGNAL(currentIndexChanged(int)), this, SLOT(makeObsoleteGeneralPanel())); connect(_ui->checkBox_logger_printTime, SIGNAL(stateChanged(int)), this, SLOT(makeObsoleteGeneralPanel())); connect(_ui->checkBox_verticalLayoutUsed, SIGNAL(stateChanged(int)), this, SLOT(makeObsoleteGeneralPanel())); connect(_ui->checkBox_imageFlipped, SIGNAL(stateChanged(int)), this, SLOT(makeObsoleteGeneralPanel())); diff --git a/guilib/src/ui/preferencesDialog.ui b/guilib/src/ui/preferencesDialog.ui index e7051bde..b17396a6 100644 --- a/guilib/src/ui/preferencesDialog.ui +++ b/guilib/src/ui/preferencesDialog.ui @@ -46,9 +46,6 @@ false - - false - @@ -68,7 +65,7 @@ QFrame::Raised - 2 + 0 @@ -101,7 +98,7 @@ - 1 + 2 QComboBox::AdjustToContents @@ -255,7 +252,7 @@ when using the file type, logs are saved in Logrtabmap.txt (located in the worki - 1 + 3 QComboBox::AdjustToContents @@ -1113,8 +1110,8 @@ We can edit how will like the prediction used in the Bayes filter when there is 0 0 - 524 - 138 + 98 + 71