summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-12-15 03:29:48 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-12-16 00:59:32 +0100
commitaa9521b0e0f810a9ba94d7f6c7f9100c3f69d862 (patch)
tree57dd9649ba0b69f1fa385416c9af9d78587f2de9 /src/application.cpp
parentfix spacing (diff)
downloadrekonq-aa9521b0e0f810a9ba94d7f6c7f9100c3f69d862.tar.xz
First form of protocol handling
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/application.cpp b/src/application.cpp
index cacdcb5a..28d998f3 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -100,7 +100,7 @@ int Application::newInstance()
mainWindow()->homePage();
break;
case 1: // open new tab page
- mainWindow()->newTabPage();
+ loadUrl( KUrl("about:home") );
break;
case 2: // restore session
if(sessionManager()->restoreSession())
@@ -279,9 +279,9 @@ void Application::loadUrl(const KUrl& url, const Rekonq::OpenType& type)
return;
}
- // loading home pages
- if (mainWindow()->newTabPage(loadingUrl))
- return;
+ /* // loading home pages
+ if (mainWindow()->newTabPage(loadingUrl))
+ return;*/
if (loadingUrl.scheme() == QLatin1String("mailto"))
{