summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qsettings.h
diff options
context:
space:
mode:
authorAhmad Samir <a.samirh78@gmail.com>2023-08-10 04:01:03 +0300
committerAhmad Samir <a.samirh78@gmail.com>2023-09-01 01:30:35 +0300
commit875f988af5d9df6c85269959414014d6ef1417ad (patch)
tree62834e69b599cfb8294d186594300b4d5603b023 /src/corelib/io/qsettings.h
parent54f989b30d6763cd5a78567dd5f73a5a389b6305 (diff)
QMdiArea: port Q_FOREACH to ranged-for, loop could call QCA::sendEvent()
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. Pick-to: 6.6 6.5 Task-number: QTBUG-115803 Change-Id: Ib62ba38700e8862940ba98fdeb663dd730ff125f Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/corelib/io/qsettings.h')
0 files changed, 0 insertions, 0 deletions