forked from qt-creator/qt-creator
minor style
Change-Id: Id21e8a3962550a1c66d761e718b48a8fcf4053e7 Reviewed-on: http://codereview.qt-project.org/5122 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user