forked from qt-creator/qt-creator
Utils: remove Clang from ClangCodeModel_*_TextMarkColor
They are also used by the qml code model, and may be used by additional code models in the future. Change-Id: If216cbeb7b77be0f3b6f31671c71d913206315cb Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -83,8 +83,8 @@ ClangTextMark::ClangTextMark(const FileName &fileName,
|
||||
updateIcon();
|
||||
if (fullVisualization) {
|
||||
setLineAnnotation(Utils::diagnosticCategoryPrefixRemoved(diagnostic.text.toString()));
|
||||
setColor(warning ? ::Utils::Theme::ClangCodeModel_Warning_TextMarkColor
|
||||
: ::Utils::Theme::ClangCodeModel_Error_TextMarkColor);
|
||||
setColor(warning ? ::Utils::Theme::CodeModel_Warning_TextMarkColor
|
||||
: ::Utils::Theme::CodeModel_Error_TextMarkColor);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user