diff options
Diffstat (limited to 'src/application.cpp')
-rw-r--r-- | src/application.cpp | 7 |
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(); +} |