forked from qt-creator/qt-creator
Core/Utils: Migrate further to Utils::Id
The coreplugin/id.h header is kept for downstream for now. Change-Id: I8c44590f7b988b3770ecdc177c40783e12353e66 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -382,7 +382,7 @@ static TextEditor::TextMark *generateDiagnosticTextMark(const Diagnostic &diag)
|
||||
{
|
||||
auto mark = new TextEditor::TextMark(Utils::FilePath::fromString(diag.location.filePath),
|
||||
diag.location.line,
|
||||
Core::Id("ClangTool.DiagnosticMark"));
|
||||
Utils::Id("ClangTool.DiagnosticMark"));
|
||||
if (diag.type == "error" || diag.type == "fatal")
|
||||
mark->setColor(Utils::Theme::CodeModel_Error_TextMarkColor);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user