Utils: Remove unused theme role TextColorHighlight

TextColorHighlight is a harsh "egineer red" #ff0000 in all themes except
one, where it is grey. Actually, TextColorHighlight was used in one
place, which now instead uses TextColorError.

Change-Id: Idcd61637edaa045fc718cf35a9d34ff1d5a64dad
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Alessandro Portale
2022-02-01 22:40:13 +01:00
parent 0020ef7e30
commit ccafc11fa6
9 changed files with 1 additions and 9 deletions

View File

@@ -466,7 +466,7 @@ QVariant ConfigModelTreeItem::data(int column, int role) const
mismatch = !dataItem->kitValue.isEmpty() && dataItem->kitValue != value;
else
mismatch = !dataItem->initialValue.isEmpty() && dataItem->initialValue != value;
return Utils::creatorTheme()->color(mismatch ? Utils::Theme::TextColorHighlight
return Utils::creatorTheme()->color(mismatch ? Utils::Theme::TextColorError
: Utils::Theme::TextColorNormal);
};