summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-10-02 16:20:18 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-10-02 16:20:18 +0200
commit79e11d892e2ff26636a647e91371aaef2c5d435d (patch)
tree48148f714597b96541f6feecb877fd6d31f1eff2 /src/mainview.cpp
parentSimpler KIO management (no more metadata) (diff)
downloadrekonq-79e11d892e2ff26636a647e91371aaef2c5d435d.tar.xz
moving from about: protocol to rekonq: protocol :D
This fix some issues, about some "stupid" sites whose js sends strange "about:blank" requests (just found 2!!)
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index 20cac359..4fa40b6d 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -306,8 +306,8 @@ void MainView::newTab()
switch(ReKonfig::newTabsBehaviour())
{
case 0:
- Application::instance()->homePage();
- break;
+ if(Application::instance()->homePage())
+ break;
case 1:
urlBar()->setUrl(KUrl(""));
break;