diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2014-12-04 17:03:23 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2014-12-04 17:03:23 -0800 |
commit | ff640132de0fe855314a8fd86adae3a2fb33237b (patch) | |
tree | f3a794ad1a68ad91626a48727cdde0146152316d /linux | |
parent | 0a942b6f143373c30fdd2027ff75fdb3b0c71551 (diff) | |
download | qtlocation-mapboxgl-ff640132de0fe855314a8fd86adae3a2fb33237b.tar.gz |
Move setAccessToken to CachingHTTPFileSource
Diffstat (limited to 'linux')
-rw-r--r-- | linux/main.cpp | 2 |
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 |