Take a copy of the d->childWindows container because each loop body may end up directly/indirectly calling QCoreApplication::sendEvent() which means unbounded/unknown code could be invoked causing recursing into the class, leading to modifying the childWindows container while iterating over it. Task-number: QTBUG-115803 Change-Id: Ib62ba38700e8862940ba98fdeb663dd730ff125f Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io> (cherry picked from commit 875f988af5d9df6c85269959414014d6ef1417ad) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%