diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-09-10 22:49:52 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-09-10 22:49:52 +0200 |
commit | 5b0de25722655673fcfc11a5c92fdfee188e55a5 (patch) | |
tree | a49471395e068e1549a711d8807470bf0b4e6df4 /src/mainwindow.cpp | |
parent | Added support for bookmark icons. Not yet working.. (diff) | |
download | rekonq-5b0de25722655673fcfc11a5c92fdfee188e55a5.tar.xz |
Removed "home" scheme
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 171739d5..8e7a1040 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -45,7 +45,6 @@ #include "findbar.h" #include "sidepanel.h" #include "urlbar.h" -#include "homepage.h" // Ui Includes #include "ui_cleardata.h" @@ -257,7 +256,7 @@ void MainWindow::setupActions() a = KStandardAction::fullScreen(this, SLOT(slotViewFullScreen(bool)), this, actionCollection()); a->setShortcut(KShortcut(Qt::Key_F11, Qt::CTRL + Qt::SHIFT + Qt::Key_F)); - KStandardAction::home(this, SLOT(slotHome()), actionCollection()); + KStandardAction::home(m_view, SLOT(slotHome()), actionCollection()); KStandardAction::preferences(this, SLOT(slotPreferences()), actionCollection()); // WEB Actions (NO KStandardActions..) @@ -750,25 +749,6 @@ void MainWindow::slotViewPageSource() } -void MainWindow::slotHome() -{ - WebView *w = Application::instance()->mainWindow()->mainView()->currentWebView(); - HomePage p; - - switch(ReKonfig::newTabsBehaviour()) - { - case 0: - w->setHtml( p.rekonqHomePage(), QUrl("home:/")); - break; - case 2: - w->load( QUrl(ReKonfig::homePage()) ); - break; - default: - break; - } -} - - void MainWindow::slotToggleInspector(bool enable) { QWebSettings::globalSettings()->setAttribute(QWebSettings::DeveloperExtrasEnabled, enable); |