summaryrefslogtreecommitdiff
path: root/src/urltreeview.cpp
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2010-04-03 23:09:25 +0200
committerYoann Laissus <yoann.laissus@gmail.com>2010-04-03 23:09:25 +0200
commitc28496c854a41baf865fc6e34b9d0453034ee84b (patch)
treeef27df9c3a84780c0ce942351ac7a1fd2aa7c00a /src/urltreeview.cpp
parenthide suggestions on ESC key (diff)
downloadrekonq-c28496c854a41baf865fc6e34b9d0453034ee84b.tar.xz
- Add the control modifier support for back, next and home actions and for the UrlTreeView
- Use SettingsOpenTab to open a link in a new tab with the bookmark toolbar
Diffstat (limited to 'src/urltreeview.cpp')
-rw-r--r--src/urltreeview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/urltreeview.cpp b/src/urltreeview.cpp
index 507a7973..b8be9dd2 100644
--- a/src/urltreeview.cpp
+++ b/src/urltreeview.cpp
@@ -95,7 +95,7 @@ void UrlTreeView::mouseReleaseEvent(QMouseEvent *event)
if(!index.isValid())
return;
- if(event->button() == Qt::MidButton)
+ if(event->button() == Qt::MidButton || event->modifiers() == Qt::ControlModifier)
validOpenUrl(qVariantValue< KUrl >(index.data(Qt::UserRole)), Rekonq::NewCurrentTab);
else if(event->button() == Qt::LeftButton)