summaryrefslogtreecommitdiff
path: root/platform/qt/src/qmapboxgl_p.hpp
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-04-28 15:04:03 +0300
committerThiago Marcos P. Santos <thiago@mapbox.com>2016-04-28 16:33:48 +0300
commita9327c07e71639107afdde00798a1b6cfd0e53cd (patch)
tree1c5d668c208e655e477f5b9ba6c31bef32c4cdcf /platform/qt/src/qmapboxgl_p.hpp
parent94093493d5b8ef688847fca71db98edac65534b6 (diff)
downloadqtlocation-mapboxgl-a9327c07e71639107afdde00798a1b6cfd0e53cd.tar.gz
[Qt] Make needsRendering signal asynchronous
Fixes label animation not completing.
Diffstat (limited to 'platform/qt/src/qmapboxgl_p.hpp')
-rw-r--r--platform/qt/src/qmapboxgl_p.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/qt/src/qmapboxgl_p.hpp b/platform/qt/src/qmapboxgl_p.hpp
index 93da4089a9..c520073215 100644
--- a/platform/qt/src/qmapboxgl_p.hpp
+++ b/platform/qt/src/qmapboxgl_p.hpp
@@ -44,6 +44,8 @@ public:
std::unique_ptr<mbgl::DefaultFileSource> fileSourceObj;
std::unique_ptr<mbgl::Map> mapObj;
+ bool dirty = false;
+
public slots:
void connectionEstablished();