diff options
author | Piotr Mikolajczyk <piotr.mikolajczyk@qt.io> | 2020-11-03 11:43:22 +0100 |
---|---|---|
committer | Andy Shaw <andy.shaw@qt.io> | 2020-11-09 09:41:49 +0000 |
commit | 861e372b6ad81570d4f496e42fb25a6699b72f2f (patch) | |
tree | d9567059148c61eab18e4069caed1d3445145606 /src/location/declarativemaps/qdeclarativepolygonmapitem_p_p.h | |
parent | f7a270142eef06eb493a2f6b544c4ea66c9d5c23 (diff) | |
download | qtlocation-861e372b6ad81570d4f496e42fb25a6699b72f2f.tar.gz |
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>
Diffstat (limited to 'src/location/declarativemaps/qdeclarativepolygonmapitem_p_p.h')
0 files changed, 0 insertions, 0 deletions