summaryrefslogtreecommitdiff
path: root/src/webtab
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-08-08 15:05:40 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:05 +0100
commit3464290338fb7aaf8057d229221abf96ce349929 (patch)
tree1071bcb1ab89b7f97d80b2d852313665c0ef158c /src/webtab
parentTools actions restored (diff)
downloadrekonq-3464290338fb7aaf8057d229221abf96ce349929.tar.xz
Restore rekonq settings
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;
}