summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-10-22 16:43:56 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-10-22 16:43:56 +0200
commitf02f8f72b459a30169d3016463147f662dca7491 (patch)
tree36adcfc14fdf2e69bd72be9440bd91f666182ebd /src/mainview.cpp
parentchanged title. (diff)
downloadrekonq-f02f8f72b459a30169d3016463147f662dca7491.tar.xz
(LAST hopefully) BIG change (before 0.3)
A strange bug on new window loading, calling from .desktop file (krunner & friends). So I had to change the homePage launch mechanism. Working on that I started playing with startup settings and implemented this. I hope Pano like this very much: 0.3 gift :D Waiting for someone comments and reviews to merge..
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index 1848e682..de35715a 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -307,7 +307,7 @@ void MainView::newTab()
switch(ReKonfig::newTabsBehaviour())
{
case 0:
- if(Application::instance()->homePage())
+ if(Application::instance()->mainWindow()->homePage())
break;
case 1:
urlBar()->setUrl(KUrl(""));