From 72ba2aaf6edcf5e47cf41d99ff4b56b473f8e6f6 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Tue, 20 Aug 2019 20:12:51 -0300 Subject: [PATCH] Gui: Do not use hard-coded blue color in tree --- src/Gui/propertyeditor/PropertyItem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/propertyeditor/PropertyItem.cpp b/src/Gui/propertyeditor/PropertyItem.cpp index 49d1cb07f9..f817a5bde3 100644 --- a/src/Gui/propertyeditor/PropertyItem.cpp +++ b/src/Gui/propertyeditor/PropertyItem.cpp @@ -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();