Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.3
-
1a0c2fb5bdaed175c9d9472b0658f93214572d4d (qt/qtdeclarative/dev)
Description
Code like this results in null value in data after an object held in contextData (context property) has been destroyed:
property var data: contextData || 0
onDataChanged: console.log(data)
If contextData is set to nullptr, this results in 0 instead which seems more valid.