From 2b6020a59ef503eeadabc532782f5e9e795fcf3f Mon Sep 17 00:00:00 2001 From: Paolo Angelelli Date: Mon, 11 Dec 2017 14:57:11 +0100 Subject: Fix performance issue with copyright notice Skip evaluating copyrights when the notice is not visible. The implication of this patch is that copyright information won't be up to date or even available unless there is an "attached" copyright notice that has the visible property set to true. Task-number: QTBUG-64880 Change-Id: I3750b61913becb0cbf31273ad9a76ae1a2b6a393 Reviewed-by: Alex Blasche --- src/location/maps/qgeotiledmap_p.h | 2 ++ 1 file changed, 2 insertions(+) (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 b709cb57..89dd1285 100644 --- a/src/location/maps/qgeotiledmap_p.h +++ b/src/location/maps/qgeotiledmap_p.h @@ -87,6 +87,8 @@ public: void prefetchData() Q_DECL_OVERRIDE; void clearData() Q_DECL_OVERRIDE; + void setCopyrightVisible(bool visible) override; + public Q_SLOTS: virtual void clearScene(int mapId); -- cgit v1.2.1