Commit ab3a7628 authored by Tobias Hunger's avatar Tobias Hunger

ClangStaticAnalyzer: Remove unused lambda capture

Fixes a warning in clang 5.0

Change-Id: I5e0415e65c3019e9deb3e99c396e6a86c6952ca4
Reviewed-by: Nikolai Kosjar's avatarNikolai Kosjar <nikolai.kosjar@qt.io>
parent 2b7c5dea
......@@ -170,7 +170,7 @@ void ClangStaticAnalyzerTool::startTool()
auto clangTool = new ClangStaticAnalyzerToolRunner(runControl, project->activeTarget());
m_stopAction->disconnect();
connect(m_stopAction, &QAction::triggered, runControl, [this, runControl] {
connect(m_stopAction, &QAction::triggered, runControl, [runControl] {
runControl->appendMessage(tr("Clang Static Analyzer stopped by user."),
NormalMessageFormat);
runControl->initiateStop();
......
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