summaryrefslogtreecommitdiff
path: root/src/location/maps/qgeotiledmap_p.h
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2017-03-21 17:13:19 +0100
committerPaolo Angelelli <paolo.angelelli@qt.io>2017-03-27 11:22:29 +0000
commit2e79bbca6465d404a821510c7a6b897fd284ca99 (patch)
tree67f599ca88cbdccd11974194584b9430e7a51a16 /src/location/maps/qgeotiledmap_p.h
parent02c1b7eabaab6f7b2262ab34ac46c8aeeb09f064 (diff)
downloadqtlocation-2e79bbca6465d404a821510c7a6b897fd284ca99.tar.gz
Allow to disable prefetching
Add a NoPrefetch PrefetchStyle to allow disabling the prefetching. A new parameter in the geoservice plugin is then needed to effectively disable it. Change-Id: I8b8a2343cbe4f59bd990d25c3381f4a11708860e Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/location/maps/qgeotiledmap_p.h')
-rw-r--r--src/location/maps/qgeotiledmap_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/maps/qgeotiledmap_p.h b/src/location/maps/qgeotiledmap_p.h
index 9c9b819f..b709cb57 100644
--- a/src/location/maps/qgeotiledmap_p.h
+++ b/src/location/maps/qgeotiledmap_p.h
@@ -75,7 +75,7 @@ class Q_LOCATION_PRIVATE_EXPORT QGeoTiledMap : public QGeoMap
Q_OBJECT
Q_DECLARE_PRIVATE(QGeoTiledMap)
public:
- enum PrefetchStyle { PrefetchNeighbourLayer, PrefetchTwoNeighbourLayers };
+ enum PrefetchStyle { NoPrefetching, PrefetchNeighbourLayer, PrefetchTwoNeighbourLayers };
QGeoTiledMap(QGeoTiledMappingManagerEngine *engine, QObject *parent);
virtual ~QGeoTiledMap();