summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2014-12-04 17:03:23 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2014-12-04 17:03:23 -0800
commitff640132de0fe855314a8fd86adae3a2fb33237b (patch)
treef3a794ad1a68ad91626a48727cdde0146152316d /linux
parent0a942b6f143373c30fdd2027ff75fdb3b0c71551 (diff)
downloadqtlocation-mapboxgl-ff640132de0fe855314a8fd86adae3a2fb33237b.tar.gz
Move setAccessToken to CachingHTTPFileSource
Diffstat (limited to 'linux')
-rw-r--r--linux/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/main.cpp b/linux/main.cpp
index d6994fd017..42a98d0198 100644
--- a/linux/main.cpp
+++ b/linux/main.cpp
@@ -78,7 +78,7 @@ int main(int argc, char *argv[]) {
if (token == nullptr) {
mbgl::Log::Warning(mbgl::Event::Setup, "no access token set. mapbox.com tiles won't work.");
} else {
- map.setAccessToken(std::string(token));
+ fileSource.setAccessToken(std::string(token));
}
// Load style