aboutsummaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt/SettingsObjectWrapper.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2016-11-01 14:08:59 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-11-01 09:37:52 -0700
commitdf2dfa470612c1cb25ef2286577e2a56f8a8700f (patch)
treed7b3ed4bf406c6d1329671b36e54fdeb95dfd9ba /core/subsurface-qt/SettingsObjectWrapper.cpp
parentd3e775e6903f4470b1049a399092a0106ceedd86 (diff)
downloadsubsurface-df2dfa470612c1cb25ef2286577e2a56f8a8700f.tar.gz
Fix bug where the Font setting was ignored
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/subsurface-qt/SettingsObjectWrapper.cpp')
-rw-r--r--core/subsurface-qt/SettingsObjectWrapper.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/subsurface-qt/SettingsObjectWrapper.cpp b/core/subsurface-qt/SettingsObjectWrapper.cpp
index 81f6237a3..ec5e04100 100644
--- a/core/subsurface-qt/SettingsObjectWrapper.cpp
+++ b/core/subsurface-qt/SettingsObjectWrapper.cpp
@@ -1834,6 +1834,7 @@ void DisplaySettingsObjectWrapper::setDivelistFont(const QString& value)
return;
QSettings s;
+ s.beginGroup(group);
s.setValue("divelist_font", value);
if (!subsurface_ignore_font(newValue.toUtf8().constData())) {