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 /linux | |
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 '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 6afa3f7f6c..738bbfb0aa 100644 --- a/linux/main.cpp +++ b/linux/main.cpp @@ -90,7 +90,7 @@ int main(int argc, char *argv[]) { map.setStyleURL(style); - int ret = view->run(); + view->run(); // Save settings mbgl::LatLng latLng = map.getLatLng(); @@ -101,5 +101,5 @@ int main(int argc, char *argv[]) { settings.debug = map.getDebug(); settings.save(); - return ret; + return 0; } |