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:
@@ -90,8 +90,8 @@ void QmlJSTextMark::init(bool warning, const QString message)
|
||||
{
|
||||
setIcon(warning ? Utils::Icons::CODEMODEL_WARNING.icon()
|
||||
: Utils::Icons::CODEMODEL_ERROR.icon());
|
||||
setColor(warning ? Utils::Theme::ClangCodeModel_Warning_TextMarkColor
|
||||
: Utils::Theme::ClangCodeModel_Error_TextMarkColor);
|
||||
setColor(warning ? Utils::Theme::CodeModel_Warning_TextMarkColor
|
||||
: Utils::Theme::CodeModel_Error_TextMarkColor);
|
||||
setDefaultToolTip(warning ? QApplication::translate("QmlJS Code Model Marks", "Code Model Warning")
|
||||
: QApplication::translate("QmlJS Code Model Marks", "Code Model Error"));
|
||||
setToolTip(message);
|
||||
|
||||
Reference in New Issue
Block a user