diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-10-02 11:09:13 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-10-30 10:36:51 -0700 |
commit | 8a54a46779bac174cb9216d1c8aa76a3bfc1bc84 (patch) | |
tree | e9e769fb2a300b854935a4eff986fd206b119d54 /desktop-widgets/preferences/preferencesdialog.cpp | |
parent | d9595ad266021575522f73bb87dfc51517461d59 (diff) | |
download | subsurface-8a54a46779bac174cb9216d1c8aa76a3bfc1bc84.tar.gz |
Preferences: random fixes
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/preferences/preferencesdialog.cpp')
-rw-r--r-- | desktop-widgets/preferences/preferencesdialog.cpp | 5 |
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(); } |