Fix for caching after mapbox improvement/highdpi-support
Currently the qgeofiletilecache/qgeofiletilecachemapbox contains a bug
in that it makes use of virtual functions in the constructor.
This patch fixes it by moving those calls into a virtual init()
method that is called by QGeoTiledMappingManagerEngine::setTileCache()
Change-Id: Icf7932dfbae7d99eef22c67e034246a834212a03
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| commit | fd7ad01376b511ef1065ff832a7e41f15f6175b3 |
| parent | eaf416e17fecee09c0b3f8d93b784fc3cf5806d2 |
| author | Paolo Angelelli <paolo.angelelli@theqtcompany.com> |
| committer | Paolo Angelelli <paolo.angelelli@theqtcompany.com> |
| commit time | Thu, 7 Jul 2016 13:09:43 +0000 |
- M src/location/maps/qabstractgeotilecache_p.h
- M src/location/maps/qgeofiletilecache.cpp
- M src/location/maps/qgeofiletilecache_p.h
- M src/location/maps/qgeotiledmappingmanagerengine.cpp
- M src/plugins/geoservices/mapbox/qgeofiletilecachemapbox.h
- M src/plugins/geoservices/nokia/qgeotiledmappingmanagerengine_nokia.cpp