plugins: Remove foreach usage

Change-Id: Idf60caed3b5f4ec4c6e990a9e3188487bcc824f8
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
Artem Sokolovskii
2022-12-20 10:58:39 +01:00
parent 2b97f69796
commit 3f340616d5
17 changed files with 56 additions and 46 deletions

View File

@@ -161,7 +161,8 @@ QmlBuildSystem::QmlBuildSystem(Target *target)
// FIXME: Check. Probably bogus after the BuildSystem move.
// // addedTarget calls updateEnabled on the runconfigurations
// // which needs to happen after refresh
// foreach (Target *t, targets())
// const QLis<Target> targetList = targets();
// for (Target *t : targetList)
// addedTarget(t);
connect(target->project(), &Project::activeTargetChanged,