summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-09-17 15:39:16 +0200
committerKonstantin Käfer <mail@kkaefer.com>2014-09-24 16:14:10 +0200
commit111fccb76c1f599470074a75ca77e9de016cca73 (patch)
treeefda4dfe3cc787d3907730ffb11d3e2795f8b510 /common
parentba18c08524cffd3fa03adf49f680f3a80390d61d (diff)
downloadqtlocation-mapboxgl-111fccb76c1f599470074a75ca77e9de016cca73.tar.gz
option to pass data parameter, and add more explanation
Diffstat (limited to 'common')
-rw-r--r--common/glfw_view.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/glfw_view.cpp b/common/glfw_view.cpp
index fb54d55f39..edfb3a6a6f 100644
--- a/common/glfw_view.cpp
+++ b/common/glfw_view.cpp
@@ -183,7 +183,9 @@ int GLFWView::run() {
glfwWaitEvents();
}
- map->stop(glfwWaitEvents);
+ map->stop([](void *) {
+ glfwWaitEvents();
+ });
return 0;
}