diff options
author | Oliver Wolff <[email protected]> | 2025-06-17 14:37:47 +0200 |
---|---|---|
committer | Oliver Wolff <[email protected]> | 2025-06-19 11:24:05 +0200 |
commit | ada927d19a9d0e2c6bc23b3a08b9bf05a985d685 (patch) | |
tree | 821a1bd8566ede9f221753e36f0bf19e2282d71a /examples/qmake/tutorial | |
parent | 8d60a45974cde33f1bd2f82a339dc6c13b855c5b (diff) |
We must not use a range based loop here as the container might be
changed inside the loop which will invalidate the iterators which in
turn might lead to a crash.
While at it the QFileInfo used to obtain the binary's path was moved out
of the loop as a small cleanup.
Fixes: QTBUG-137763
Pick-to: 6.10 6.9 6.8
Change-Id: I86fb8b683fb98a897d0059ef1dc869e26b2c213f
Reviewed-by: Joerg Bornemann <[email protected]>
Diffstat (limited to 'examples/qmake/tutorial')
0 files changed, 0 insertions, 0 deletions