Commit 8568b4d1 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

ClangStaticAnalyzer: Simplify signal connection

Change-Id: Ia710c47a11ca08b9e12d81555ff6288583e6ad63
Reviewed-by: default avatarChristian Kandeler <>
parent 7b71ac38
......@@ -45,7 +45,8 @@ ClangStaticAnalyzerDiagnosticView::ClangStaticAnalyzerDiagnosticView(QWidget *pa
: Debugger::DetailedErrorView(parent)
m_suppressAction = new QAction(tr("Suppress This Diagnostic"), this);
connect(m_suppressAction, &QAction::triggered, [this](bool) { suppressCurrentDiagnostic(); });
connect(m_suppressAction, &QAction::triggered,
this, &ClangStaticAnalyzerDiagnosticView::suppressCurrentDiagnostic);
void ClangStaticAnalyzerDiagnosticView::suppressCurrentDiagnostic()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment