summaryrefslogtreecommitdiff
path: root/src/settings/settingsdialog.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-03-27 09:34:28 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-04-12 02:30:01 +0200
commit5ef01bdbb74b5f02adf58df5c01125a1d4b9fb01 (patch)
treeb37132547b2199b6765ba8c4394721f9859dac07 /src/settings/settingsdialog.cpp
parentclean up failed rebasing and implement history timed expire check (diff)
downloadrekonq-5ef01bdbb74b5f02adf58df5c01125a1d4b9fb01.tar.xz
Last clean up on settings
Get sure settings are updated everytime Strings, spaces and one unuseful slot removed clean up
Diffstat (limited to 'src/settings/settingsdialog.cpp')
-rw-r--r--src/settings/settingsdialog.cpp13
1 files changed, 2 insertions, 11 deletions
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();