summaryrefslogtreecommitdiff
path: root/src/webwindow
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-03-30 18:19:51 +0100
committerAndrea Diamantini <adjam7@gmail.com>2013-04-02 09:22:58 +0200
commit89304e6e7a994fd0d5a4e5605ed955303668ab53 (patch)
treeff974282bbb4aea199cafea4d485fea7ff5b401b /src/webwindow
parentLoad a clean session and close dialog (diff)
downloadrekonq-89304e6e7a994fd0d5a4e5605ed955303668ab53.tar.xz
Add a "session" startup option
BUG: 249462
Diffstat (limited to 'src/webwindow')
-rw-r--r--src/webwindow/webwindow.cpp6
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);