aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences/preferencesdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/preferences/preferencesdialog.cpp')
-rw-r--r--desktop-widgets/preferences/preferencesdialog.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop-widgets/preferences/preferencesdialog.cpp b/desktop-widgets/preferences/preferencesdialog.cpp
index bf751bff7..5b4cc560e 100644
--- a/desktop-widgets/preferences/preferencesdialog.cpp
+++ b/desktop-widgets/preferences/preferencesdialog.cpp
@@ -100,6 +100,8 @@ void PreferencesDialogV2::applyRequested()
Q_FOREACH(AbstractPreferencesWidget *page, pages) {
page->syncSettings();
}
+ emit settingsChanged();
+ accept();
}
void PreferencesDialogV2::cancelRequested()
@@ -107,6 +109,7 @@ void PreferencesDialogV2::cancelRequested()
Q_FOREACH(AbstractPreferencesWidget *page, pages) {
page->refreshSettings();
}
+ reject();
}
void PreferencesDialogV2::defaultsRequested()
@@ -115,4 +118,6 @@ void PreferencesDialogV2::defaultsRequested()
Q_FOREACH(AbstractPreferencesWidget *page, pages) {
page->refreshSettings();
}
+ emit settingsChanged();
+ accept();
}