From a725a44c6b574ff35307f66b18412959c991883f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mladen=20Pejakovi=C4=87?= Date: Tue, 24 Jan 2012 23:19:47 +0100 Subject: [PATCH] Middle click to respect new tabs after active tab --- src/webview/webview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webview/webview.cpp b/src/webview/webview.cpp index cd1be7119..9ad6f707b 100644 --- a/src/webview/webview.cpp +++ b/src/webview/webview.cpp @@ -802,7 +802,7 @@ void WebView::mouseReleaseEvent(QMouseEvent* event) if (frame) { QUrl link = frame->hitTestContent(event->pos()).linkUrl(); if (m_clickedUrl == link && isUrlValid(link)) { - openUrlInNewTab(link, Qz::NT_NotSelectedTab); + openUrlInNewTab(link, WebViewSettings::newTabAfterActive ? Qz::NT_NotSelectedTab : Qz::NT_CleanTab); event->accept(); return; }