From 5ef01bdbb74b5f02adf58df5c01125a1d4b9fb01 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 27 Mar 2012 09:34:28 +0200 Subject: Last clean up on settings Get sure settings are updated everytime Strings, spaces and one unuseful slot removed clean up --- src/settings/settingsdialog.cpp | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'src/settings/settingsdialog.cpp') diff --git a/src/settings/settingsdialog.cpp b/src/settings/settingsdialog.cpp index 3e25640d..0d5c2542 100644 --- a/src/settings/settingsdialog.cpp +++ b/src/settings/settingsdialog.cpp @@ -155,8 +155,6 @@ SettingsDialog::SettingsDialog(QWidget *parent) showButtonSeparator(false); setWindowTitle(i18nc("Window title of the settings dialog", "Configure – rekonq")); - readConfig(); - // update buttons connect(d->generalWidg, SIGNAL(changed(bool)), this, SLOT(updateButtons())); connect(d->tabsWidg, SIGNAL(changed(bool)), this, SLOT(updateButtons())); @@ -181,18 +179,9 @@ SettingsDialog::~SettingsDialog() } -// we need this function to UPDATE the config widget data.. -void SettingsDialog::readConfig() -{ -} - - // we need this function to SAVE settings in rc file.. void SettingsDialog::saveSettings() { - if (!hasChanged()) - return; - ReKonfig::self()->writeConfig(); d->generalWidg->save(); @@ -204,6 +193,8 @@ void SettingsDialog::saveSettings() d->shortcutsEditor->save(); d->ebrowsingModule->save(); + d->privacyWidg->reload(); + SearchEngine::reload(); rApp->opensearchManager()->removeDeletedEngines(); -- cgit v1.2.1