diff options
| author | Ahmad Samir <a.samirh78@gmail.com> | 2023-08-10 19:26:02 +0300 |
|---|---|---|
| committer | Ahmad Samir <a.samirh78@gmail.com> | 2023-08-30 16:48:51 +0300 |
| commit | 3e6724b11a53a022f9f6547a2201a98fef535f50 (patch) | |
| tree | 0d1ef8a4d6a286b5ab585d68ffb7ceec6b0836e9 /src/plugins/platforms/wasm/qwasmintegration.cpp | |
| parent | 79dc2980e69d1b568c3c80e30a3bd0af21548f22 (diff) | |
QAbstractItemView: port Q_FOREACH to ranged-for
Take a copy as the loop may end up calling QCoreApplication::postEvent()
which in turn could invoke unknown code that results in modifying the
QHash that is being iterated over.
Task-number: QTBUG-115803
Change-Id: I5f8aabb13ef7f60b470d0d3a986063775e787036
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmintegration.cpp')
0 files changed, 0 insertions, 0 deletions
