diff options
author | Aaron McCarthy <aaron.mccarthy@jollamobile.com> | 2015-06-26 16:42:37 +1000 |
---|---|---|
committer | Aaron McCarthy <mccarthy.aaron@gmail.com> | 2015-07-29 03:03:48 +0000 |
commit | c9aa79515380f59ff33d6f5fda45ea9da4ec7be0 (patch) | |
tree | 30a1d0784f16cdf4f050999010f52ba2ff446571 | |
parent | c1a116304c54ee595177be0c395cc4af252a9f96 (diff) |
Fix issue where tiles are prefetched using both prefetch styles
Before being made run-time selectable the only a single prefetch style
was used. Restore the same behavior by adding a break to the switch
statement.
Change-Id: Id16a4b11709497df1511b2605c0a9b5837590b3a
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com>
-rw-r--r-- | src/location/maps/qgeocameratiles.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/location/maps/qgeocameratiles.cpp b/src/location/maps/qgeocameratiles.cpp index 33c140ee..abce5c3e 100644 --- a/src/location/maps/qgeocameratiles.cpp +++ b/src/location/maps/qgeocameratiles.cpp @@ -152,6 +152,7 @@ QSet<QGeoTileSpec> QGeoCameraTiles::prefetchTiles(PrefetchStle style) double neighbourScale = (1.0 + zoomFraction)/2.0; d_ptr->updateGeometry(PREFETCH_FRUSTUM_SCALE * neighbourScale); } + break; } case PrefetchTwoNeighbourLayers: { |