qtdeclarative/tests/auto/qml/qqmllistmodel/data
Ulf Hermann 0351ad8c60 QQmlListModel: Invalidate ModelObject when necessary
Both the object and the listmodel may be deleted during the life time of
ModelObject. Don't crash when that happens.

Also, fix QV4QPointer to actually name the type of the pointer it
stores. Apparently this is the first time we add a QV4QPointer of
something that's not a plain QObject.

Pick-to: 5.15
Task-number: QTBUG-118024
Change-Id: I208d8749bcd67970f7bfbe569eed7a472f909508
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit 90c55e859e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit aa253878fe)
(cherry picked from commit f7182e0124)
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
(cherry picked from commit ca5bd206d49fafb813c52570a89006ed1967b17c)
2024-08-12 16:45:59 +00:00
..
bindingsOnGetResult.qml
deadModelData.qml QQmlListModel: Invalidate ModelObject when necessary 2024-08-12 16:45:59 +00:00
destroyObject.qml qqmllistmodel: Fix QObjects setting indestructible 2021-08-26 09:33:04 +00:00
dummyItem.qml qqmllistmodel: Fix QObjects setting indestructible 2021-08-26 09:33:04 +00:00
dynamicroles.qml
enumerate.qml
multipleroles.qml
objectOwnership.qml QQmlListModel: Fix C++ owned object getting destroyed 2021-09-02 10:42:56 +00:00
protectQObjectFromGC.qml ListModel: Use PersistentValue to keep track of objects 2023-01-31 10:35:38 +01:00
qtbug38907.qml
setmodelcachelist.qml
signalhandlers.qml
urls.qml QQmlListModel: Don't return from the middle of a loop 2021-09-13 15:22:37 +00:00