diff options
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(); |