summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index 7938208a..11d17a6e 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -105,7 +105,7 @@ bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &r
// if frame doesn't exists (perhaps) we are pointing to a blank target..
if (!frame)
{
- Application::instance()->loadUrl(request.url(), Rekonq::NewTab);
+ Application::instance()->loadUrl(request.url(), Rekonq::SettingOpenTab);
return false;
}
}
@@ -131,7 +131,7 @@ WebPage *WebPage::newWindow(WebWindowType type)
kDebug() << "Modal Dialog ---------------------------------------";
}
- WebView *w = Application::instance()->mainWindow()->mainView()->newTab();
+ WebView *w = Application::instance()->mainWindow()->mainView()->newTab(!ReKonfig::openTabsBack());
return w->page();
}