minor style

Change-Id: Id21e8a3962550a1c66d761e718b48a8fcf4053e7
Reviewed-on: http://codereview.qt-project.org/5122
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2011-09-19 10:02:45 +02:00
committed by hjk
parent 85bf185e2f
commit 5295e05310
19 changed files with 34 additions and 40 deletions

View File

@@ -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"))