From 8a116ba5106a1e07aac0ed54d976fa98cb1c5a4e Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Fri, 6 Dec 2013 14:30:59 -0200 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/preferences.cpp | 6 +++--- 1 file 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(); -- cgit v1.2.3-70-g09d2