Make unstable component text color darker

Change-Id: Id4734ea34b910e5abba6743a5e7d73e220e98aea
Reviewed-by: Antti Kokko <antti.kokko@qt.io>
This commit is contained in:
Katja Marttila 2018-04-09 13:15:11 +03:00
parent d2ae9c16c3
commit a949acff47

View File

@ -229,7 +229,7 @@ QVariant ComponentModel::data(const QModelIndex &index, int role) const
return component->isExpandedByDefault(); return component->isExpandedByDefault();
} }
if (component->isUnstable() && role == Qt::ForegroundRole) { if (component->isUnstable() && role == Qt::ForegroundRole) {
return QVariant(QColor(Qt::lightGray)); return QVariant(QColor(Qt::darkGray));
} }
return component->data(role); return component->data(role);
} }