diff options
author | Yoann Laissus <yoann.laissus@gmail.com> | 2011-10-19 14:32:05 +0200 |
---|---|---|
committer | Yoann Laissus <yoann.laissus@gmail.com> | 2011-10-19 20:48:12 +0200 |
commit | 41e3302f12572c9f3b728353109f204e624a5125 (patch) | |
tree | ea8b1223bfb14891ec57da423aa5c76fbf1fdb2a /src | |
parent | Disable bookmark dragging with middle click in the bookmark toolbar. (diff) | |
download | rekonq-41e3302f12572c9f3b728353109f204e624a5125.tar.xz |
Fix my previous commit
Diffstat (limited to 'src')
-rw-r--r-- | src/bookmarks/bookmarkstoolbar.cpp | 2 |
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()) { |