summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2015-04-23 11:46:22 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2015-04-28 14:32:24 -0400
commita625ba8a0976ef8417a2609700187c5633be2c58 (patch)
treeee61c1e8b6bde556b2c93f4730ea806547f6090a /linux
parentc84e8862226e6f89538b34fafd592182caf9008b (diff)
downloadqtlocation-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.cpp4
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;
}