diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-08-08 15:05:40 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-12-10 02:48:05 +0100 |
commit | 3464290338fb7aaf8057d229221abf96ce349929 (patch) | |
tree | 1071bcb1ab89b7f97d80b2d852313665c0ef158c /src/webtab/webview.cpp | |
parent | Tools actions restored (diff) | |
download | rekonq-3464290338fb7aaf8057d229221abf96ce349929.tar.xz |
Restore rekonq settings
Diffstat (limited to 'src/webtab/webview.cpp')
-rw-r--r-- | src/webtab/webview.cpp | 6 |
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; } |