diff options
-rw-r--r-- | core/subsurface-qt/SettingsObjectWrapper.cpp | 1 | ||||
-rw-r--r-- | desktop-widgets/preferences/preferences_defaults.cpp | 2 |
2 files changed, 1 insertions, 2 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())) { diff --git a/desktop-widgets/preferences/preferences_defaults.cpp b/desktop-widgets/preferences/preferences_defaults.cpp index 2ebbe5467..60b3d3afd 100644 --- a/desktop-widgets/preferences/preferences_defaults.cpp +++ b/desktop-widgets/preferences/preferences_defaults.cpp @@ -88,8 +88,6 @@ void PreferencesDefaults::syncSettings() general->setDefaultFileBehavior(CLOUD_DEFAULT_FILE); auto display = SettingsObjectWrapper::instance()->display_settings; - - //TODO: Verify the 'save or remove special' feature for the divelist font and the font size. display->setDivelistFont(ui->font->currentFont().toString()); display->setFontSize(ui->fontsize->value()); display->setDisplayInvalidDives(ui->displayinvalid->isChecked()); |