Simpler fix to crashing Qml Map appearing 2nd+ time
Previous solution did not take advantage of the QSGNode::OwnedByParent
flag. Setting this flag to false allows to use parent() property
to determine if the node has been removed from node tree.
This amends 4fe9e0ed027134a833b2243597a2ccd00987b559
Fixes: QTBUG-85260
Change-Id: I705848483d7dc2639dffffa0ff66c682b3fffca0
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
| commit | 861e372b6ad81570d4f496e42fb25a6699b72f2f |
| parent | f7a270142eef06eb493a2f6b544c4ea66c9d5c23 |
| author | Piotr Mikolajczyk <piotr.mikolajczyk@qt.io> |
| committer | Andy Shaw <andy.shaw@qt.io> |
| commit time | Mon, 9 Nov 2020 09:41:49 +0000 |