diff options
| author | Ahmad Samir <a.samirh78@gmail.com> | 2023-05-18 19:29:46 +0300 |
|---|---|---|
| committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2023-06-20 06:53:52 +0000 |
| commit | c88961bcf4779933457bc8965b1281f83165a12d (patch) | |
| tree | 6f81701f2998ab69f1ab7158609cb3f12d7b3e6b /src/concurrent/qtconcurrentrun.cpp | |
| parent | 1fcbe0f6c24eff66add23bcc6212451a87d64c05 (diff) | |
Moc: fix narrowing conversion warnings by using iterator-based for-loop
The alternative would be to explicitly cast each list.size() to int. I
think using iterators is a cleaner solution.
Drive-by changes:
- Give a std::pair's members better names than first/second, by using a
structured binding
- Port to qsizetype
Pick-to: 6.6 6.5
Change-Id: Icff3126192f9813fba698d5722b209307011ca48
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/concurrent/qtconcurrentrun.cpp')
0 files changed, 0 insertions, 0 deletions
