Commit 0d160aaa authored by Eike Ziller's avatar Eike Ziller
Browse files

Fix compilation with Qt5



Change-Id: Ib74a8c94f74974e1154f381afdf10ecf9198a9be
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 942ad983
......@@ -48,6 +48,7 @@
#include <utils/runextensions.h>
#include <QtConcurrentRun>
#include <QColor>
#include <QFileInfo>
#include <QFile>
#include <QTimer>
......@@ -193,7 +194,7 @@ QVariant LocatorModel::data(const QModelIndex &index, int role) const
}
return entry.displayIcon;
} else if (role == Qt::ForegroundRole && index.column() == 1) {
return Qt::darkGray;
return QColor(Qt::darkGray);
} else if (role == Qt::UserRole) {
return qVariantFromValue(mEntries.at(index.row()));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment