Fix update logic in updateBoundingBoxes()
Avoid removing one and one item from the list being updated, just
iterate through and clear it once done. This was popping up during
profiling.
Pick-to: 6.11
Change-Id: I8cbe67048fdae27266d3aca8bf4d7f7b3369ccc3
Reviewed-by: Jonas Karlsson <jonas.karlsson@qt.io>
| commit | 19b8bbf4f9ebb1c35c3b39cee16b598563a29f52 |
| parent | a6d1bb2f1aa05c9278003af0e43d3fe61c2fd7af |
| author | Christian Strømme <christian.stromme@qt.io> |
| committer | Christian Strømme <christian.stromme@qt.io> |
| commit time | Mon, 4 May 2026 16:55:56 +0000 |