summaryrefslogtreecommitdiff
path: root/platform/qt
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-09-26 15:42:48 -0700
committerMinh Nguyễn <mxn@1ec5.org>2016-09-26 15:43:01 -0700
commit0f5b194617e0250280e0536794625a733a7d447e (patch)
tree7167f5a9b6b3a2c134b92c1e7839676bd1715161 /platform/qt
parent7ff036cd01e0d3594dd3006cb8d313786d81799e (diff)
downloadqtlocation-mapboxgl-0f5b194617e0250280e0536794625a733a7d447e.tar.gz
[core, qt] Generalized source change notification
This same notification can in the future be used for other changes to a source.
Diffstat (limited to 'platform/qt')
-rw-r--r--platform/qt/include/qmapbox.hpp2
-rw-r--r--platform/qt/src/qmapbox.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/qt/include/qmapbox.hpp b/platform/qt/include/qmapbox.hpp
index 0a6a41b3e1..4975076eee 100644
--- a/platform/qt/include/qmapbox.hpp
+++ b/platform/qt/include/qmapbox.hpp
@@ -46,7 +46,7 @@ enum MapChange {
MapChangeDidFinishRenderingMap,
MapChangeDidFinishRenderingMapFullyRendered,
MapChangeDidFinishLoadingStyle,
- MapChangeSourceAttributionDidChange
+ MapChangeSourceDidChange
};
struct Q_DECL_EXPORT CameraOptions {
diff --git a/platform/qt/src/qmapbox.cpp b/platform/qt/src/qmapbox.cpp
index 4a871c151d..a101eb4986 100644
--- a/platform/qt/src/qmapbox.cpp
+++ b/platform/qt/src/qmapbox.cpp
@@ -32,7 +32,7 @@ static_assert(mbgl::underlying_type(QMapbox::MapChangeWillStartRenderingMap) ==
static_assert(mbgl::underlying_type(QMapbox::MapChangeDidFinishRenderingMap) == mbgl::underlying_type(mbgl::MapChangeDidFinishRenderingMap), "error");
static_assert(mbgl::underlying_type(QMapbox::MapChangeDidFinishRenderingMapFullyRendered) == mbgl::underlying_type(mbgl::MapChangeDidFinishRenderingMapFullyRendered), "error");
static_assert(mbgl::underlying_type(QMapbox::MapChangeDidFinishLoadingStyle) == mbgl::underlying_type(mbgl::MapChangeDidFinishLoadingStyle), "error");
-static_assert(mbgl::underlying_type(QMapbox::MapChangeSourceAttributionDidChange) == mbgl::underlying_type(mbgl::MapChangeSourceAttributionDidChange), "error");
+static_assert(mbgl::underlying_type(QMapbox::MapChangeSourceDidChange) == mbgl::underlying_type(mbgl::MapChangeSourceDidChange), "error");
namespace QMapbox {