summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-08-23 12:39:21 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-08-23 12:39:21 +0200
commitc30a6e73d97530ed22cafa89b59cf25cf93e02d1 (patch)
tree1b9f9ed0bffc5fefa36f172f9585cc3a06a3c4c4 /src/webpage.cpp
parentMerge commit 'megabigbug/Print' (diff)
downloadrekonq-c30a6e73d97530ed22cafa89b59cf25cf93e02d1.tar.xz
Modified newTab function and splitted into two parts.
There are still some regressions to be fixed: - open link in new tab is always without focus - urlbar is empty on new tab loading - mics..
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index 1968c751..14994746 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -127,7 +127,9 @@ WebPage *WebPage::newWindow(WebWindowType type)
kDebug() << "Modal Dialog ---------------------------------------";
}
- WebView *w = Application::instance()->mainWindow()->mainView()->newTab(!ReKonfig::openTabsBack());
+ // FIXME: regression introduced. No more following rekonq setting about tab focus
+ // the FIX should be moving loadUrl code from Application to acceptNavigationRequest
+ WebView *w = Application::instance()->mainWindow()->mainView()->newWebView();
return w->page();
}