[kitemview] compile without foreach
ClosedPublic

Authored by mlaurent on Mar 15 2019, 12:49 PM.

Details

Summary

compile without foreach

Test Plan

autotest ok

Diff Detail

Repository
R276 KItemViews
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
mlaurent created this revision.Mar 15 2019, 12:49 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptMar 15 2019, 12:49 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
mlaurent requested review of this revision.Mar 15 2019, 12:49 PM
apol added a subscriber: apol.Mar 15 2019, 6:32 PM
apol added inline comments.
src/kwidgetitemdelegatepool.cpp
136

This one clearly should be using iterators instead of foreach

mlaurent updated this revision to Diff 54016.Mar 16 2019, 2:30 PM

Use iterator

apol accepted this revision.Mar 16 2019, 4:10 PM
This revision is now accepted and ready to land.Mar 16 2019, 4:10 PM
This revision was automatically updated to reflect the committed changes.