summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/application.cpp b/src/application.cpp
index a5b4e759..e5b76745 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -396,3 +396,10 @@ void Application::loadResolvedUrl(ThreadWeaver::Job *job)
historyManager()->addHistoryEntry( url.prettyUrl() );
}
}
+
+
+void Application::newWindow()
+{
+ loadUrl( KUrl("about:home"), Rekonq::NewWindow );
+ mainWindow()->mainView()->urlBar()->setFocus();
+}