diff options
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(); |