forked from qt-creator/qt-creator
ClangCodeModel: show specific client name in diagnostic
Task-number: QTCREATORBUG-26585 Change-Id: I5edbe3ab40e91e2e5f8455b7a8d484a82c5cf6e6 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -398,7 +398,7 @@ bool ClangdTextMark::addToolTipContent(QLayout *target) const
|
|||||||
return c && c->reachable() && c->hasDiagnostic(DocumentUri::fromFilePath(fp), diag);
|
return c && c->reachable() && c->hasDiagnostic(DocumentUri::fromFilePath(fp), diag);
|
||||||
};
|
};
|
||||||
target->addWidget(ClangDiagnosticWidget::createWidget({m_diagnostic},
|
target->addWidget(ClangDiagnosticWidget::createWidget({m_diagnostic},
|
||||||
ClangDiagnosticWidget::ToolTip, canApplyFixIt, "clangd"));
|
ClangDiagnosticWidget::ToolTip, canApplyFixIt, m_client ? m_client->name() : "clangd"));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user