summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-09-20 01:39:13 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-09-20 01:39:13 +0200
commitadedaa2e468e55ddf26223cb92a7d36a1a75d933 (patch)
tree9761489a71346cf0020eef8da6135f08b9cc5ec9 /src/settings.cpp
parentApplied (and refactored) patch from Matgic78 about smart opening (diff)
downloadrekonq-adedaa2e468e55ddf26223cb92a7d36a1a75d933.tar.xz
Fixing homepage (user's not rekonq's) opening and behaviour
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index 1950c40a..57793888 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -185,6 +185,12 @@ void SettingsDialog::setWebSettingsToolTips()
// we need this function to UPDATE the config widget data..
void SettingsDialog::readConfig()
{
+ // ======= General Page
+ if( ReKonfig::newTabHomePage() )
+ d->generalUi.rbUseNewTabPage->setChecked( true );
+ else
+ d->generalUi.rbUseHomePage->setChecked( true );
+
// ====== New Tab Page
QTableWidget *t = d->newtabpageUi.tableWidget;
QStringList names, urls;
@@ -220,6 +226,8 @@ void SettingsDialog::readConfig()
// we need this function to SAVE settings in rc file..
void SettingsDialog::saveSettings()
{
+ ReKonfig::setNewTabHomePage( d->generalUi.rbUseNewTabPage->isChecked() );
+
QTableWidget *t = d->newtabpageUi.tableWidget;
QStringList names, urls;
for(int i=0; i<9; ++i)