From 2c3b50b297bb89d84fa0f928d7d01f7ff9b93512 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 24 Oct 2013 17:23:32 +0200 Subject: aruco: fix missing config var Signed-off-by: Stanislaw Halik --- ftnoir_filter_accela/ftnoir_filter_accela_dialog.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ftnoir_filter_accela') 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"); -- cgit v1.2.3