diff options
author | hjk <qtc-committer@nokia.com> | 2011-09-19 10:02:45 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2011-09-19 11:24:14 +0200 |
commit | 5295e05310ec7eb1e0f1fb1b0aaaf0a51ca3ea91 (patch) | |
tree | 920d22ba107c5740a57290fbdc02ec760adef16f /src/shared/help/bookmarkmanager.cpp | |
parent | 85bf185e2f4a13a3f5a6d39ce1ab985711978445 (diff) | |
download | qt-creator-5295e05310ec7eb1e0f1fb1b0aaaf0a51ca3ea91.tar.gz |
minor style
Change-Id: Id21e8a3962550a1c66d761e718b48a8fcf4053e7
Reviewed-on: http://codereview.qt-project.org/5122
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/shared/help/bookmarkmanager.cpp')
-rw-r--r-- | src/shared/help/bookmarkmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/help/bookmarkmanager.cpp b/src/shared/help/bookmarkmanager.cpp index 564a45ee59..b956d5a6d6 100644 --- a/src/shared/help/bookmarkmanager.cpp +++ b/src/shared/help/bookmarkmanager.cpp @@ -565,7 +565,7 @@ bool BookmarkWidget::eventFilter(QObject *object, QEvent *e) if (index.isValid()) { QMouseEvent *me = static_cast<QMouseEvent*>(e); bool controlPressed = me->modifiers() & Qt::ControlModifier; - if(((me->button() == Qt::LeftButton) && controlPressed) + if (((me->button() == Qt::LeftButton) && controlPressed) || (me->button() == Qt::MidButton)) { QString data = index.data(Qt::UserRole + 10).toString(); if (!data.isEmpty() && data != QLatin1String("Folder")) |