Fix crash when showing Map QML comp. for 2nd+ time


Crash caused by storing pointer to a node that could be deleted elsewhere

Fixes: QTBUG-85260
Change-Id: I871123322fac84b8bf91e9bab8ecad08e75c2854
Reviewed-by: Paolo Angelelli <paolo.angelelli.qt@gmail.com>
commit4fe9e0ed027134a833b2243597a2ccd00987b559
parent3e366ddf164acd9764f5d66658426d05460d3403
authorPiotr Mikolajczyk <piotr.mikolajczyk@qt.io>
committerPiotr Mikolajczyk <piotr.mikolajczyk@qt.io>
commit timeWed, 28 Oct 2020 08:12:34 +0000