summaryrefslogtreecommitdiff
path: root/src/bookmarks/bookmarkstoolbar.cpp
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2011-10-19 14:32:05 +0200
committerYoann Laissus <yoann.laissus@gmail.com>2011-10-19 14:32:05 +0200
commit1d5f1edaf9c78bdf40e10e27b21c6d4999dc2f7c (patch)
tree826731da4e63a8875630042d6230391dd396d386 /src/bookmarks/bookmarkstoolbar.cpp
parentDisable bookmark dragging with middle click in the bookmark toolbar. (diff)
downloadrekonq-1d5f1edaf9c78bdf40e10e27b21c6d4999dc2f7c.tar.xz
Fix my previous commit
Diffstat (limited to 'src/bookmarks/bookmarkstoolbar.cpp')
-rw-r--r--src/bookmarks/bookmarkstoolbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bookmarks/bookmarkstoolbar.cpp b/src/bookmarks/bookmarkstoolbar.cpp
index 9015b748..23af65c2 100644
--- a/src/bookmarks/bookmarkstoolbar.cpp
+++ b/src/bookmarks/bookmarkstoolbar.cpp
@@ -506,7 +506,7 @@ bool BookmarkToolBar::eventFilter(QObject *watched, QEvent *event)
QMouseEvent *mouseEvent = static_cast<QMouseEvent *>(event);
// These events need to be handled only for Bookmark actions and not the bar
- if (watched != toolBar() && mouseEvent && mouseEvent->button() == Qt::LeftButton)
+ if (watched != toolBar() && mouseEvent && mouseEvent->button() != Qt::MidButton)
{
switch (event->type())
{