diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-12-06 14:30:59 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-12-06 09:54:19 -0800 |
commit | 8a116ba5106a1e07aac0ed54d976fa98cb1c5a4e (patch) | |
tree | 2844a5146943a5e316ef26fa757058b635732e0e /qt-ui/preferences.cpp | |
parent | 4e263bae987bcc343497496bcdc962c292977b6a (diff) | |
download | subsurface-8a116ba5106a1e07aac0ed54d976fa98cb1c5a4e.tar.gz |
Settings for Display preferences didn't really set the preferences.
The code that should set the preferences was actually retrieving it,
this will correctly set it.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/preferences.cpp')
-rw-r--r-- | qt-ui/preferences.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qt-ui/preferences.cpp b/qt-ui/preferences.cpp index 2155a710d..3bd9f942a 100644 --- a/qt-ui/preferences.cpp +++ b/qt-ui/preferences.cpp @@ -179,9 +179,9 @@ void PreferencesDialog::syncSettings() s.endGroup(); s.beginGroup("Display"); - s.value("divelist_font", ui.font->font().family()); - s.value("font_size", ui.fontsize->value()); - s.value("displayinvalid", ui.displayinvalid->isChecked()); + s.setValue("divelist_font", ui.font->font().family()); + s.setValue("font_size", ui.fontsize->value()); + s.setValue("displayinvalid", ui.displayinvalid->isChecked()); s.endGroup(); s.sync(); |