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 |
||
---|---|---|
.. | ||
bindingsOnGetResult.qml | ||
deadModelData.qml | ||
destroyObject.qml | ||
dummyItem.qml | ||
dynamicroles.qml | ||
enumerate.qml | ||
multipleroles.qml | ||
objectOwnership.qml | ||
protectQObjectFromGC.qml | ||
qtbug38907.qml | ||
setmodelcachelist.qml | ||
signalhandlers.qml | ||
urls.qml |