diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-03-30 18:19:51 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-04-02 09:22:58 +0200 |
commit | 89304e6e7a994fd0d5a4e5605ed955303668ab53 (patch) | |
tree | ff974282bbb4aea199cafea4d485fea7ff5b401b /src/webwindow | |
parent | Load a clean session and close dialog (diff) | |
download | rekonq-89304e6e7a994fd0d5a4e5605ed955303668ab53.tar.xz |
Add a "session" startup option
BUG: 249462
Diffstat (limited to 'src/webwindow')
-rw-r--r-- | src/webwindow/webwindow.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/webwindow/webwindow.cpp b/src/webwindow/webwindow.cpp index a6e5d876..5858ec6c 100644 --- a/src/webwindow/webwindow.cpp +++ b/src/webwindow/webwindow.cpp @@ -283,7 +283,7 @@ void WebWindow::setupActions() // User sessions management a = new KAction(KIcon("view-choose"), i18n("&Manage Sessions"), this); actionCollection()->addAction(QL1S("session_manage"), a); - connect(a, SIGNAL(triggered(bool)), SessionManager::self(), SLOT(manageSession())); + connect(a, SIGNAL(triggered(bool)), SessionManager::self(), SLOT(manageSessions())); // ===== Tools Actions ================================= a = new KAction(i18n("View Page S&ource"), this); @@ -968,9 +968,7 @@ void WebWindow::openBookmarksPage() void WebWindow::openHomePage(Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) { - KUrl homeUrl = ReKonfig::useNewTabPage() - ? KUrl(QL1S("about:home")) - : KUrl(ReKonfig::homePage()); + KUrl homeUrl = KUrl(ReKonfig::homePage()); if (buttons == Qt::MidButton || modifiers == Qt::ControlModifier) rApp->loadUrl(homeUrl, Rekonq::NewTab); |