diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-09-13 03:14:55 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-09-13 03:14:55 +0200 |
commit | 09567d9fbf6e034319bbdf7820f4bceac42cee12 (patch) | |
tree | 94352260f033ed1c1dd24230a0a30b071e8b3ada /src/settings.cpp | |
parent | notification system made default and no more "unsettable" (diff) | |
download | rekonq-09567d9fbf6e034319bbdf7820f4bceac42cee12.tar.xz |
Modified rekonq behaviour:
HomePage has 2 choices: usual home page vs new tab page
new tab has 3: new tabp page, home page, blank page
Diffstat (limited to 'src/settings.cpp')
-rw-r--r-- | src/settings.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index 0838b252..843b3375 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -141,10 +141,6 @@ SettingsDialog::SettingsDialog(QWidget *parent) connect(d->generalUi.setHomeToCurrentPageButton, SIGNAL(clicked()), this, SLOT(setHomeToCurrentPage())); - int n = d->generalUi.kcfg_newTabsBehaviour->currentIndex(); - checkLineEnable(n); - connect(d->generalUi.kcfg_newTabsBehaviour, SIGNAL(currentIndexChanged(int)), this, SLOT(checkLineEnable(int))); - connect(d->ebrowsingModule, SIGNAL(changed(bool)), this, SLOT(updateButtons())); connect(d->cookiesModule, SIGNAL(changed(bool)), this, SLOT(updateButtons())); @@ -218,18 +214,3 @@ void SettingsDialog::setHomeToCurrentPage() d->generalUi.kcfg_homePage->setText(webView->url().prettyUrl()); } } - - -void SettingsDialog::checkLineEnable(int n) -{ - if(n == 2) - { - d->generalUi.kcfg_homePage->setEnabled(true); - d->generalUi.setHomeToCurrentPageButton->setEnabled(true); - } - else - { - d->generalUi.kcfg_homePage->setEnabled(false); - d->generalUi.setHomeToCurrentPageButton->setEnabled(false); - } -}
\ No newline at end of file |