forked from qt-creator/qt-creator
QmlProfiler: Fix warning about unused lambda capture
Change-Id: Ib5abc199f55f3cf57d3db92c50c85ab303a208b9 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
Reference in New Issue
Block a user