summaryrefslogtreecommitdiff
path: root/src/settings/settingsdialog.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-03-24 10:51:58 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-03-24 10:51:58 +0100
commit288b838f75f91205d81d5d46201eae90e8abd51a (patch)
treea2407cbb316c3f7c60292e3e790b4b8cfa750892 /src/settings/settingsdialog.cpp
parentCleaning AdblockManager::loadRules slot (diff)
downloadrekonq-288b838f75f91205d81d5d46201eae90e8abd51a.tar.xz
This commit should finally fix settings handling
Diffstat (limited to 'src/settings/settingsdialog.cpp')
-rw-r--r--src/settings/settingsdialog.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/settings/settingsdialog.cpp b/src/settings/settingsdialog.cpp
index 08d5ca6e..35f753d3 100644
--- a/src/settings/settingsdialog.cpp
+++ b/src/settings/settingsdialog.cpp
@@ -199,11 +199,17 @@ void SettingsDialog::readConfig()
// we need this function to SAVE settings in rc file..
void SettingsDialog::saveSettings()
{
+ if (!hasChanged())
+ return;
+
ReKonfig::self()->writeConfig();
d->ebrowsingModule->save();
d->shortcutsEditor->save();
d->adBlockWidg->save();
d->networkWidg->save();
+
+ updateButtons();
+ emit settingsChanged("ReKonfig");
}