From 374077292b4be4a03eb8ca9a6eaae41e4de6f942 Mon Sep 17 00:00:00 2001 From: Michal Klocek Date: Mon, 18 May 2015 11:12:16 +0200 Subject: Fix tile version handling Here maps plugin checks server for tile version. When tile version is updated, update not only the current camera tiles, but also scene tiles. Task-number: QTBUG-44809 Change-Id: Iedb3add5308a2e61cc18e169e33ea4510e1a4fee Reviewed-by: Alex Blasche --- src/location/maps/qgeotiledmap_p.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/location/maps/qgeotiledmap_p.h') diff --git a/src/location/maps/qgeotiledmap_p.h b/src/location/maps/qgeotiledmap_p.h index 2dbf1754..2afbc5c9 100644 --- a/src/location/maps/qgeotiledmap_p.h +++ b/src/location/maps/qgeotiledmap_p.h @@ -87,13 +87,12 @@ public: QDoubleVector2D coordinateToItemPosition(const QGeoCoordinate &coordinate, bool clipToViewport = true) const Q_DECL_OVERRIDE; void prefetchData() Q_DECL_OVERRIDE; - protected: QSGNode *updateSceneGraph(QSGNode *, QQuickWindow *window) Q_DECL_OVERRIDE; - -protected Q_SLOTS: virtual void evaluateCopyrights(const QSet &visibleTiles); - void updateMapVersion(); + +private Q_SLOTS: + void handleTileVersionChanged(); private: Q_DISABLE_COPY(QGeoTiledMap) -- cgit v1.2.1