aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4engine.cpp
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2024-09-27 10:36:38 +0200
committerFabian Kosmale <fabian.kosmale@qt.io>2024-09-27 12:16:17 +0000
commit817ab2dc171bc86cdf552103c630f2864e0eba1c (patch)
treea9a571d5b3b51b63d945bb901f0b81ba56045174 /src/qml/jsruntime/qv4engine.cpp
parentfbb4a1ad4bb07c61274cb1a3672822ed0b677a38 (diff)
QQmlDelegateModelItem: Avoid unneeded reparenting in destroyObject
Reparenting to QCoreApplication is only needed in the rare case where our event loop is gone, and deleteLater no longer works. Avoid the overhead of reparenting if aboutToQuit has not been emitted yet. Amends 3a5617dc45e281552b9c1f7a04f0561b8fa14d94 Pick-to: 6.8 Change-Id: Ie41d08b1f33ee57d230bb0947ab435e77cb1b893 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4engine.cpp')
0 files changed, 0 insertions, 0 deletions