aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets
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 /desktop-widgets
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 'desktop-widgets')
-rw-r--r--desktop-widgets/preferences/preferences_defaults.cpp2
1 files changed, 0 insertions, 2 deletions
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());