QmlProjectManager: Fix compiler warning

Remove unused lambda capture

Change-Id: I4b17b8330f8ed4f5463f36689366d314e0159046
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Eike Ziller
2022-05-11 10:42:16 +02:00
parent bef1ace116
commit 7ee0da5107

View File

@@ -85,7 +85,7 @@ QmlMultiLanguageAspect::QmlMultiLanguageAspect(ProjectExplorer::Target *target)
addDataExtractor(this, &QmlMultiLanguageAspect::origin, &Data::origin);
connect(this, &BoolAspect::changed, this, [this, target] {
connect(this, &BoolAspect::changed, this, [this] {
for (ProjectExplorer::RunControl *runControl :
ProjectExplorer::ProjectExplorerPlugin::allRunControls()) {
if (runControl->aspect<QmlMultiLanguageAspect>()->origin == this)