diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2019-03-12 20:35:26 +0100 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2019-03-25 14:16:33 +0000 |
commit | 0af21b1f95180949f75ee2933d4147f610a29b6b (patch) | |
tree | d16a90d4f7bf46c08c9ea5377fe4faa094cbe7d0 /src/plugins/geoservices | |
parent | 6e02f895a8f3a74503971dd8df02cfafd46281f8 (diff) | |
download | qtlocation-0af21b1f95180949f75ee2933d4147f610a29b6b.tar.gz |
Fix Map destructor incorrectly deleting MapItemViews
Currently the views are explicitly destroyed, leading to
issues, in particular for views declared inside the Map.
Change it to simply remove these views from the map.
Child views will be destroyed in ~QObject.
[ChangeLog] Fixed crash when destroying Maps containing
MapItemViews.
Change-Id: Iff9b1afd6b17b55671b1f999b1bf69f172a05483
Fixes: QTBUG-69195
Fixes: QTBUG-74337
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/plugins/geoservices')
0 files changed, 0 insertions, 0 deletions