diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-12-17 14:59:05 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-12-17 14:59:05 +0100 |
commit | b5e9998b15d8a51bdca9cdb2d0981f69629f532a (patch) | |
tree | 365a26903cd4df16fbcfe3d6f9553d1ce62b2c1a /linux | |
parent | 936e09651424f111ac2ac64e2e60e2d13b082ebf (diff) | |
download | qtlocation-mapboxgl-b5e9998b15d8a51bdca9cdb2d0981f69629f532a.tar.gz |
change file:// to asset:// to indicate that they aren't arbitrary files
refs #579
Diffstat (limited to 'linux')
-rw-r--r-- | linux/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/main.cpp b/linux/main.cpp index c5b2569ba3..e2965a8ea7 100644 --- a/linux/main.cpp +++ b/linux/main.cpp @@ -49,7 +49,7 @@ int main(int argc, char *argv[]) { // handle fullscreen_flag break; case 's': - style = std::string("file://") + std::string(optarg); + style = std::string("asset://") + std::string(optarg); default: break; } @@ -83,7 +83,7 @@ int main(int argc, char *argv[]) { // Load style if (style.empty()) - style = std::string("file://") + uv::cwd() + std::string("/styles/bright-v6.json"); + style = std::string("asset://") + std::string("styles/bright-v6.json"); map.setStyleURL(style); |