diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2015-04-23 11:46:22 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-04-28 14:32:24 -0400 |
commit | a625ba8a0976ef8417a2609700187c5633be2c58 (patch) | |
tree | ee61c1e8b6bde556b2c93f4730ea806547f6090a /macosx | |
parent | c84e8862226e6f89538b34fafd592182caf9008b (diff) | |
download | qtlocation-mapboxgl-a625ba8a0976ef8417a2609700187c5633be2c58.tar.gz |
Remove Map::start/stop
Both Android and iOS now use pause/resume. The map thread is
always running, and be able to receive messages. When paused,
it will just refuse to render.
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/main.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/main.mm b/macosx/main.mm index add7631893..28d78e442a 100644 --- a/macosx/main.mm +++ b/macosx/main.mm @@ -133,7 +133,7 @@ int main() { // Load style map.setStyleURL("asset://styles/bright-v7.json"); - int ret = view.run(); + view.run(); [reachability stopNotifier]; @@ -146,5 +146,5 @@ int main() { settings.debug = map.getDebug(); settings.save(); - return ret; + return 0; } |