QmlProfiler: Fix warning about unused lambda capture

Change-Id: Ib5abc199f55f3cf57d3db92c50c85ab303a208b9
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Tobias Hunger
2018-03-05 17:07:13 +01:00
parent 0f53b35757
commit 0153c0000f

View File

@@ -380,7 +380,7 @@ void QmlProfilerTool::finalizeRunControl(QmlProfilerRunner *runWorker)
};
connect(runControl, &RunControl::stopped, this, handleStop);
connect(runControl, &RunControl::finished, this, [this, runControl, handleStop] {
connect(runControl, &RunControl::finished, this, [this, handleStop] {
if (d->m_toolBusy)
handleStop();
});