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 14:32:05 +0200 |
commit | 1d5f1edaf9c78bdf40e10e27b21c6d4999dc2f7c (patch) | |
tree | 826731da4e63a8875630042d6230391dd396d386 /src | |
parent | Disable bookmark dragging with middle click in the bookmark toolbar. (diff) | |
download | rekonq-1d5f1edaf9c78bdf40e10e27b21c6d4999dc2f7c.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()) { |