summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2017-01-17 09:28:10 +0100
committerPaolo Angelelli <paolo.angelelli@qt.io>2017-01-17 13:09:05 +0000
commit444a2d5b19e601e74e78384c823d7d048e797c4c (patch)
tree33844957e45634bc25515f0bc551f0fc71494b27 /examples
parent9643b177a9c63d97d3854b2ed0325f4b8f4e1df1 (diff)
Prevent destroying QGeoTileProviderOsm before QGeoFileTileCacheOsm
Parenting QGeoTileProviderOsm under QGeoMappingManagerEngine puts them at the same level in the qobject tree as QGeoFileTileCacheOsm. Since the latter uses the providers in the destructor, it might end up calling the destructor with providers already destroyed. This patch parents the providers under the file tile cache, so that they will be destroyed after the cache. Task-number: QTBUG-58124 Change-Id: Id2fc04da58e1ba9c80a4b6c4ebeaf98cccc7d872 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions