Fix potential memory leak in QGeoTiledMappingManagerEngine


Currently setTileFetcher and setTileCache behave in two different
ways, while the former relies on having the parent set properly
for the destruction, the latter is deleted on destruction

With this patch handles both pointers are handled in the same
way: they are parented in the setter, and the destruction is
left to the qobject destructor.

Change-Id: Iaf11a12cd95088fd2268817b39fb9d58311b1812
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
commitccaaa0f9d0268142f3678476655562cb5eb1dfef
parent24ecdc6c962ff40096782bffc24b7d6623c4a87e
authorPaolo Angelelli <paolo.angelelli@theqtcompany.com>
committerPaolo Angelelli <paolo.angelelli@theqtcompany.com>
commit timeMon, 18 Jul 2016 09:57:19 +0000