summaryrefslogtreecommitdiff
path: root/src/urltreeview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-04-06 12:13:24 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-04-06 12:13:24 +0200
commit9ba9935940ea5ccdaf5cf7d3f235127faa8fdb1c (patch)
treed1bb839fdc2a672eae730190eaeda0b9ac254863 /src/urltreeview.cpp
parentI confused mouse cursor with the key one :) (diff)
parentUseless import (diff)
downloadrekonq-9ba9935940ea5ccdaf5cf7d3f235127faa8fdb1c.tar.xz
Merge commit 'refs/merge-requests/2241' of git://gitorious.org/rekonq/mainline into m2241
Diffstat (limited to 'src/urltreeview.cpp')
-rw-r--r--src/urltreeview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/urltreeview.cpp b/src/urltreeview.cpp
index 507a7973..aeaef2f7 100644
--- a/src/urltreeview.cpp
+++ b/src/urltreeview.cpp
@@ -95,8 +95,8 @@ void UrlTreeView::mouseReleaseEvent(QMouseEvent *event)
if(!index.isValid())
return;
- if(event->button() == Qt::MidButton)
- validOpenUrl(qVariantValue< KUrl >(index.data(Qt::UserRole)), Rekonq::NewCurrentTab);
+ if(event->button() == Qt::MidButton || event->modifiers() == Qt::ControlModifier)
+ validOpenUrl(qVariantValue< KUrl >(index.data(Qt::UserRole)), Rekonq::SettingOpenTab);
else if(event->button() == Qt::LeftButton)
{