summaryrefslogtreecommitdiff
path: root/platform/darwin
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2015-05-08 11:51:48 -0700
committerMinh Nguyễn <mxn@1ec5.org>2015-05-08 11:51:48 -0700
commitbb788f56f268cfebba2105be7e23744779cad7b8 (patch)
treeb29ef0330a243cb50d8dea8d62b59cc04552347f /platform/darwin
parent1cf5af9c3155ea3e7261cf85be2004a528ac3763 (diff)
downloadqtlocation-mapboxgl-bb788f56f268cfebba2105be7e23744779cad7b8.tar.gz
Renamed settings keys
The new keys fit the standard naming convention for Info.plist keys and more clearly communicate how they’re to be used.
Diffstat (limited to 'platform/darwin')
-rw-r--r--platform/darwin/http_request_nsurl.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/http_request_nsurl.mm b/platform/darwin/http_request_nsurl.mm
index 0006dbef80..5ab4e1b43e 100644
--- a/platform/darwin/http_request_nsurl.mm
+++ b/platform/darwin/http_request_nsurl.mm
@@ -154,7 +154,7 @@ void HTTPRequest::start() {
@autoreleasepool {
NSMutableString *url = [NSMutableString stringWithString:@(resource.url.c_str())];
- if ([[NSUserDefaults standardUserDefaults] objectForKey:@"mapbox_metrics_disabled"] == nil) {
+ if ([[NSUserDefaults standardUserDefaults] integerForKey:@"MGLMapboxAccountType"] == 0) {
if ([url rangeOfString:@"?"].location == NSNotFound) {
[url appendString:@"?"];
} else {