diff options
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/preferences/preferencesdialog.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/desktop-widgets/preferences/preferencesdialog.cpp b/desktop-widgets/preferences/preferencesdialog.cpp index 3b92dff5e..3d989199a 100644 --- a/desktop-widgets/preferences/preferencesdialog.cpp +++ b/desktop-widgets/preferences/preferencesdialog.cpp @@ -31,8 +31,6 @@ void PreferencesDialog::emitSettingsChanged() PreferencesDialog::PreferencesDialog() { - loadPreferences(); //TODO: Move this code out of the qthelper.cpp - //FIXME: This looks wrong. //QSettings s; //s.beginGroup("GeneralSettings"); @@ -124,7 +122,6 @@ void PreferencesDialog::applyRequested(bool closeIt) connect(page, &AbstractPreferencesWidget::settingsChanged, this, &PreferencesDialog::settingsChanged, Qt::UniqueConnection); page->syncSettings(); } - loadPreferences(); //TODO: Move loadPreferences out of qthelper.cpp emit settingsChanged(); if (closeIt) accept(); @@ -144,7 +141,6 @@ void PreferencesDialog::defaultsRequested() Q_FOREACH(AbstractPreferencesWidget *page, pages) { page->refreshSettings(); } - loadPreferences(); //TODO: Move loadPreferences out of qthelper.cpp emit settingsChanged(); accept(); } |