forked from qt-creator/qt-creator
ClangCodeModel: fix diagnostic settings link
Link the diagnostic configuration action of a tooltip against the clangd code model settings page. Change-Id: I367bda11f1d360ef4a0b686229c7466678cbb803 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -294,7 +294,7 @@ ClangdTextMark::ClangdTextMark(const FilePath &filePath,
|
||||
, m_diagnostic(convertDiagnostic(ClangdDiagnostic(diagnostic), filePath))
|
||||
, m_client(client)
|
||||
{
|
||||
setSettingsPage(CppEditor::Constants::CPP_CODE_MODEL_SETTINGS_ID);
|
||||
setSettingsPage(CppEditor::Constants::CPP_CLANGD_SETTINGS_ID);
|
||||
|
||||
const bool isError = diagnostic.severity()
|
||||
&& *diagnostic.severity() == DiagnosticSeverity::Error;
|
||||
|
Reference in New Issue
Block a user