forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user