Gui: Do not use hard-coded blue color in tree

This commit is contained in:
Yorik van Havre
2019-08-20 20:12:51 -03:00
parent efd9473f23
commit 72ba2aaf6e

View File

@@ -561,7 +561,7 @@ QVariant PropertyItem::data(int column, int role) const
return toolTip(propertyItems[0]);
else if( role == Qt::TextColorRole) {
if(hasExpression())
return QVariant::fromValue(QColor(0,0,255.0));
return QVariant::fromValue(QApplication::palette().color(QPalette::Link));
return QVariant();
} else
return QVariant();