summaryrefslogtreecommitdiff
path: root/src/webtab
diff options
context:
space:
mode:
Diffstat (limited to 'src/webtab')
-rw-r--r--src/webtab/webview.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/webtab/webview.cpp b/src/webtab/webview.cpp
index 43f62866..06412198 100644
--- a/src/webtab/webview.cpp
+++ b/src/webtab/webview.cpp
@@ -1226,12 +1226,10 @@ void WebView::mouseReleaseEvent(QMouseEvent *event)
{
if (event->button() & Qt::MidButton)
{
+ // open tab as focused
if (event->modifiers() & Qt::ShiftModifier)
{
- if (ReKonfig::openNewTabsInBackground())
- emit loadUrl(url, Rekonq::NewFocusedTab);
- else
- emit loadUrl(url, Rekonq::NewBackGroundTab);
+ emit loadUrl(url, Rekonq::NewFocusedTab);
event->accept();
return;
}