diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-04-06 12:13:24 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-04-06 12:13:24 +0200 |
commit | 9ba9935940ea5ccdaf5cf7d3f235127faa8fdb1c (patch) | |
tree | d1bb839fdc2a672eae730190eaeda0b9ac254863 /src/urltreeview.cpp | |
parent | I confused mouse cursor with the key one :) (diff) | |
parent | Useless import (diff) | |
download | rekonq-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.cpp | 4 |
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) { |