diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-08-23 16:55:51 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-08-26 00:25:31 +0300 |
commit | e9a453271bbc782b0b123999bde7160956a1841f (patch) | |
tree | 20543ac7590d33db7fbe2fc254921109ea8a340e /platform/qt/app | |
parent | 05ba97b2b7c0b15d31b42fdd14094eab015c9c90 (diff) | |
download | qtlocation-mapboxgl-e9a453271bbc782b0b123999bde7160956a1841f.tar.gz |
[Qt] Read the access token from the environment by default
Diffstat (limited to 'platform/qt/app')
-rw-r--r-- | platform/qt/app/main.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/qt/app/main.cpp b/platform/qt/app/main.cpp index ecb4191e19..851674b5a6 100644 --- a/platform/qt/app/main.cpp +++ b/platform/qt/app/main.cpp @@ -7,7 +7,6 @@ int main(int argc, char **argv) QApplication app(argc, argv); QMapboxGLSettings settings; - settings.setAccessToken(qgetenv("MAPBOX_ACCESS_TOKEN")); settings.setCacheDatabasePath("/tmp/mbgl-cache.db"); settings.setCacheDatabaseMaximumSize(20 * 1024 * 1024); |