Refactor: for loops
Replace indexed for loops with ranged for, replace int with qsizetype
otherwise as appropriate. Apply const and line breaks in surrounding
code.
Pick-to: 6.2
Change-Id: I1c2ee372545b8ab2cbb84c4b4b97ae52dedff1d0
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
| commit | 366a6379fb80e8c223ae57b2fd791ffdfeacdbf3 |
| parent | 517e4f284e1808ecddc998d73b4b554880733381 |
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| commit time | Wed, 14 Sep 2022 20:05:49 +0200 |
- M src/location/declarativemaps/qdeclarativecirclemapitem.cpp
- M src/location/declarativemaps/qdeclarativegeocodemodel.cpp
- M src/location/declarativemaps/qdeclarativegeomap.cpp
- M src/location/declarativemaps/qdeclarativegeomapitembase_p.h
- M src/location/declarativemaps/qdeclarativegeomapitemview.cpp
- M src/location/declarativemaps/qdeclarativegeoroutemodel.cpp
- M src/location/declarativemaps/qdeclarativegeoserviceprovider.cpp
- M src/location/declarativemaps/qdeclarativepolygonmapitem.cpp
- M src/location/declarativemaps/qdeclarativepolygonmapitem_p_p.h
- M src/location/declarativemaps/qdeclarativepolylinemapitem.cpp
- M src/location/declarativemaps/qdeclarativepolylinemapitem_p_p.h
- M src/location/declarativemaps/qgeomapitemgeometry.cpp
- M src/location/declarativemaps/qquickgeomapgesturearea.cpp
- M src/location/declarativeplaces/qdeclarativeplace.cpp
- M src/location/declarativeplaces/qdeclarativesearchresultmodel.cpp
- M src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel.cpp
- M src/location/labs/qdeclarativenavigator.cpp
- M src/location/labs/qgeojson.cpp
- M src/location/labs/qmapobjectview.cpp
- M src/location/maps/qgeocameratiles.cpp
- M src/location/maps/qgeofiletilecache.cpp
- M src/location/maps/qgeoprojection.cpp
- M src/location/maps/qgeorouteparserosrmv4.cpp
- M src/location/maps/qgeorouteparserosrmv5.cpp
- M src/location/maps/qgeoserviceprovider.cpp
- M src/plugins/geoservices/esri/geocodereply_esri.cpp
- M src/plugins/geoservices/esri/georoutejsonparser_esri.cpp
- M src/plugins/geoservices/esri/placesearchreply_esri.cpp
- M src/plugins/geoservices/mapbox/qgeofiletilecachemapbox.cpp
- M src/plugins/geoservices/mapbox/qgeotiledmappingmanagerenginemapbox.cpp
- M src/plugins/geoservices/nokia/qgeofiletilecachenokia.cpp
- M src/plugins/geoservices/nokia/qgeoroutexmlparser.cpp
- M src/plugins/geoservices/nokia/qgeoroutingmanagerengine_nokia.cpp