summaryrefslogtreecommitdiff
path: root/src/shared/help/bookmarkmanager.cpp
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2011-09-19 10:02:45 +0200
committerhjk <qthjk@ovi.com>2011-09-19 11:24:14 +0200
commit5295e05310ec7eb1e0f1fb1b0aaaf0a51ca3ea91 (patch)
tree920d22ba107c5740a57290fbdc02ec760adef16f /src/shared/help/bookmarkmanager.cpp
parent85bf185e2f4a13a3f5a6d39ce1ab985711978445 (diff)
downloadqt-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.cpp2
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"))