diff options
Diffstat (limited to 'src/application.cpp')
-rw-r--r-- | src/application.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/application.cpp b/src/application.cpp index f2a6c554..3ca6b0fd 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -122,7 +122,7 @@ int Application::newInstance() { // creating new window MainWindow *w = newMainWindow(); - w->slotHome(); + w->mainView()->slotHome(); } return 0; @@ -309,12 +309,6 @@ void Application::loadUrl(const KUrl& url, const Rekonq::OpenType& type) return; } - if(url.scheme() == QLatin1String("home")) - { - mainWindow()->slotHome(); - return; - } - KUrl loadingUrl(url); if (loadingUrl.isRelative()) |