summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-24 17:23:32 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-10-24 17:23:32 +0200
commit2c3b50b297bb89d84fa0f928d7d01f7ff9b93512 (patch)
treeb5beb932a769d2f5c0c7f499fa96f7f39b7722a5
parent92fc39fcfc054effcf1da6017858f3541805f08a (diff)
aruco: fix missing config var
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
-rw-r--r--ftnoir_filter_accela/ftnoir_filter_accela_dialog.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/ftnoir_filter_accela/ftnoir_filter_accela_dialog.cpp b/ftnoir_filter_accela/ftnoir_filter_accela_dialog.cpp
index b0999070..559b9d4d 100644
--- a/ftnoir_filter_accela/ftnoir_filter_accela_dialog.cpp
+++ b/ftnoir_filter_accela/ftnoir_filter_accela_dialog.cpp
@@ -199,12 +199,13 @@ void FilterControls::save() {
QSettings iniFile( currentFile, QSettings::IniFormat ); // Application settings (in INI-file)
qDebug() << "FTNoIR_Filter::save() says: iniFile = " << currentFile;
-
- double rot, trans, zoom;
- iniFile.beginGroup ( "Accela" );
+ double rot, trans, zoom;
+
+ iniFile.beginGroup ( "Accela" );
iniFile.setValue("rotation-alpha", rot = ui.rotation_alpha->value());
iniFile.setValue("translation-alpha", trans = ui.translation_alpha->value());
+ iniFile.setValue("zoom-slowness", zoom = ui.spinZoom->value());
iniFile.endGroup ();
iniFile.beginGroup("Accela-Scaling");