diff options
author | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2016-08-22 11:30:25 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2016-08-22 11:30:26 +0200 |
commit | 8eeede619f417904cbd33fd44143f857dfce0996 (patch) | |
tree | ad89f79cf5fb56f3de5fc4a8dc7c4e2c8e2c419e /tests/auto/particles/qquickgroupgoal/tst_qquickgroupgoal.cpp | |
parent | b8f145547e5477cd67f464c2d834f60a84f4aad6 (diff) | |
parent | 3ef4fac9ff3f785d3ccbda4b28ec2c0ea2ee1b59 (diff) |
Merge dev into 5.8
Change-Id: If0f273d3d33cec20edda539de6372337c2e4e969
Diffstat (limited to 'tests/auto/particles/qquickgroupgoal/tst_qquickgroupgoal.cpp')
-rw-r--r-- | tests/auto/particles/qquickgroupgoal/tst_qquickgroupgoal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/particles/qquickgroupgoal/tst_qquickgroupgoal.cpp b/tests/auto/particles/qquickgroupgoal/tst_qquickgroupgoal.cpp index fc270b991f..1228b4cc68 100644 --- a/tests/auto/particles/qquickgroupgoal/tst_qquickgroupgoal.cpp +++ b/tests/auto/particles/qquickgroupgoal/tst_qquickgroupgoal.cpp @@ -58,7 +58,7 @@ void tst_qquickgroupgoal::test_instantTransition() ensureAnimTime(600, system->m_animation); QVERIFY(system->groupData[0]->size() <= 500 && system->groupData[0]->size() >= 450); - foreach (QQuickParticleData *d, system->groupData[0]->data) { + for (QQuickParticleData *d : qAsConst(system->groupData[0]->data)) { if (d->t == -1) continue; //Particle data unused |