aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2016-10-28 11:43:26 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-10-28 07:30:39 -0700
commiteb6f9e263c5e41e56fa4e6fe820839f26c27661d (patch)
treec7e7e49461a49fb77618a572d614ef31d98b3f0f
parentc47c3555f63052a99e4866e42c4b0c3e9396a8a4 (diff)
downloadsubsurface-eb6f9e263c5e41e56fa4e6fe820839f26c27661d.tar.gz
Remember to look for the Group
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--core/subsurface-qt/SettingsObjectWrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/subsurface-qt/SettingsObjectWrapper.cpp b/core/subsurface-qt/SettingsObjectWrapper.cpp
index 0e8c8ee67..7298f9006 100644
--- a/core/subsurface-qt/SettingsObjectWrapper.cpp
+++ b/core/subsurface-qt/SettingsObjectWrapper.cpp
@@ -1655,7 +1655,7 @@ void UnitsSettings::setUnitSystem(const QString& value)
return;
QSettings s;
-
+ s.beginGroup(group);
s.setValue("unit_system", value);
if (value == QStringLiteral("metric")) {