summaryrefslogtreecommitdiff
path: root/platform/qt/app
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-08-25 18:18:05 +0300
committerThiago Marcos P. Santos <thiago@mapbox.com>2016-08-26 15:52:16 +0300
commit9605cac3e979f73f7d09d580cbf1087e251f1b49 (patch)
tree6c66411c1f66ede5c9e1395ea7635dcdb6c6e109 /platform/qt/app
parente9a453271bbc782b0b123999bde7160956a1841f (diff)
downloadqtlocation-mapboxgl-9605cac3e979f73f7d09d580cbf1087e251f1b49.tar.gz
[Qt] setStyleURL and setStyleJSON name review
Qt uses URL as Url and JSON as Json.
Diffstat (limited to 'platform/qt/app')
-rw-r--r--platform/qt/app/mapwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/qt/app/mapwindow.cpp b/platform/qt/app/mapwindow.cpp
index bc83e2d972..72bb5729ca 100644
--- a/platform/qt/app/mapwindow.cpp
+++ b/platform/qt/app/mapwindow.cpp
@@ -59,7 +59,7 @@ void MapWindow::changeStyle()
auto& styles = QMapbox::defaultStyles();
- m_map.setStyleURL(styles[currentStyleIndex].first);
+ m_map.setStyleUrl(styles[currentStyleIndex].first);
setWindowTitle(QString("Mapbox GL: ") + styles[currentStyleIndex].second);
if (++currentStyleIndex == styles.size()) {