mirror of
https://github.com/QuasarApp/installer-framework.git
synced 2025-04-29 15:04:32 +00:00
Make unstable component text color darker
Change-Id: Id4734ea34b910e5abba6743a5e7d73e220e98aea Reviewed-by: Antti Kokko <antti.kokko@qt.io>
This commit is contained in:
parent
d2ae9c16c3
commit
a949acff47
@ -229,7 +229,7 @@ QVariant ComponentModel::data(const QModelIndex &index, int role) const
|
||||
return component->isExpandedByDefault();
|
||||
}
|
||||
if (component->isUnstable() && role == Qt::ForegroundRole) {
|
||||
return QVariant(QColor(Qt::lightGray));
|
||||
return QVariant(QColor(Qt::darkGray));
|
||||
}
|
||||
return component->data(role);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user