summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-08-13 00:40:27 -0700
committerFredrik Karlsson <bjorn.fredrik.karlsson@gmail.com>2016-08-18 14:26:04 +0200
commit6856722b1ed940799fa627506d210e5f0a309227 (patch)
tree8a4722b028182524e4485585e38a25ac7f0d4c7c /platform
parent2217e05f5e52f0f5f2bbdacac6d51a191e5ae59f (diff)
downloadqtlocation-mapboxgl-6856722b1ed940799fa627506d210e5f0a309227.tar.gz
[ios, macos] Fixed incorrect assignment in style layer tests
Fixes #5992.
Diffstat (limited to 'platform')
-rw-r--r--platform/darwin/test/MGLStyleLayerTests.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/test/MGLStyleLayerTests.m b/platform/darwin/test/MGLStyleLayerTests.m
index ae0a59edd3..b16bcfed56 100644
--- a/platform/darwin/test/MGLStyleLayerTests.m
+++ b/platform/darwin/test/MGLStyleLayerTests.m
@@ -5,7 +5,7 @@
- (void)setUp {
[super setUp];
#if TARGET_OS_IPHONE
- UIApplication *app = [[UIApplication sharedApplication] delegate];
+ UIApplication *app = [UIApplication sharedApplication];
UIViewController *vc = [[UIViewController alloc] init];
app.keyWindow.rootViewController = vc;
[vc view]; // Force load xib