diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-09-18 19:02:27 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-09-18 19:02:27 +0200 |
commit | 5d47c66cefab5f6ee5be15cc8887525e22233de0 (patch) | |
tree | d2c788701a2ffc2f7338510179c09e4029935312 /src/settings.cpp | |
parent | It finally works! (diff) | |
download | rekonq-5d47c66cefab5f6ee5be15cc8887525e22233de0.tar.xz |
Fixed options show recently closed tabs / show recent history
Diffstat (limited to 'src/settings.cpp')
-rw-r--r-- | src/settings.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index c43b23fc..ae8ccc4d 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -200,7 +200,9 @@ void SettingsDialog::readConfig() ReKonfig::setPreviewNames(names); ReKonfig::setPreviewUrls(urls); - + + d->newtabpageUi.showLastVisitedSites->setChecked( ReKonfig::showLastVisitedSites() ); + // ======= Fonts d->fontsUi.kcfg_fixedFont->setOnlyFixed(true); @@ -225,7 +227,9 @@ void SettingsDialog::saveSettings() ReKonfig::setPreviewNames(names); ReKonfig::setPreviewUrls(urls); - + + ReKonfig::setShowLastVisitedSites( d->newtabpageUi.showLastVisitedSites->isChecked() ); + ReKonfig::self()->writeConfig(); d->ebrowsingModule->save(); d->cookiesModule->save(); |