summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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");