summaryrefslogtreecommitdiff
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 20:48:12 +0200
commit41e3302f12572c9f3b728353109f204e624a5125 (patch)
treeea8b1223bfb14891ec57da423aa5c76fbf1fdb2a
parentDisable bookmark dragging with middle click in the bookmark toolbar. (diff)
downloadrekonq-41e3302f12572c9f3b728353109f204e624a5125.tar.xz
Fix my previous commit
-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())
{