ClangTools: Allow multi-selection in diagnostics view

This enables users to suppress or copy several issues at once.

Fixes: QTCREATORBUG-24396
Change-Id: Ib9019fd6a495b967627bf1ce53dead4d168e99da
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Kandeler
2020-10-01 10:27:17 +02:00
parent 751c0dbc98
commit efce9b04fc
6 changed files with 48 additions and 19 deletions

View File

@@ -82,6 +82,7 @@ public:
void setSelectedFiles(const QSet<Utils::FilePath> &value);
SuppressedDiagnosticsList suppressedDiagnostics() const { return m_suppressedDiagnostics; }
void addSuppressedDiagnostics(const SuppressedDiagnosticsList &diags);
void addSuppressedDiagnostic(const SuppressedDiagnostic &diag);
void removeSuppressedDiagnostic(const SuppressedDiagnostic &diag);
void removeAllSuppressedDiagnostics();