aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/qmlprofilertool.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2018-03-05 17:07:13 +0100
committerTobias Hunger <tobias.hunger@qt.io>2018-03-06 14:19:06 +0000
commit0153c0000ff18f677d5713678d16a574980ea29b (patch)
tree372412f20e9d39d4e04cd6e75f4f5bac1d2d3535 /src/plugins/qmlprofiler/qmlprofilertool.cpp
parent0f53b357572ff7e72ab0d96e655ba945e8157c53 (diff)
QmlProfiler: Fix warning about unused lambda capture
Change-Id: Ib5abc199f55f3cf57d3db92c50c85ab303a208b9 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilertool.cpp')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilertool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilertool.cpp b/src/plugins/qmlprofiler/qmlprofilertool.cpp
index adb166a7f10..781c680a09b 100644
--- a/src/plugins/qmlprofiler/qmlprofilertool.cpp
+++ b/src/plugins/qmlprofiler/qmlprofilertool.cpp
@@ -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();
});