diff options
Diffstat (limited to 'desktop-widgets/preferences/preferencesdialog.cpp')
-rw-r--r-- | desktop-widgets/preferences/preferencesdialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop-widgets/preferences/preferencesdialog.cpp b/desktop-widgets/preferences/preferencesdialog.cpp index 6885469c5..141bc1c65 100644 --- a/desktop-widgets/preferences/preferencesdialog.cpp +++ b/desktop-widgets/preferences/preferencesdialog.cpp @@ -27,7 +27,7 @@ PreferencesDialog* PreferencesDialog::instance() void PreferencesDialog::emitSettingsChanged() { - emit settingsChanged(); + emit settingsChanged(); } PreferencesDialog::PreferencesDialog() @@ -121,6 +121,7 @@ void PreferencesDialog::refreshPages() void PreferencesDialog::applyRequested(bool closeIt) { Q_FOREACH(AbstractPreferencesWidget *page, pages) { + connect(page, &AbstractPreferencesWidget::settingsChanged, this, &PreferencesDialog::settingsChanged, Qt::UniqueConnection); page->syncSettings(); } emit settingsChanged(); |