summaryrefslogtreecommitdiff
path: root/platform/glfw/glfw_view.cpp
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2019-06-14 15:03:13 +0300
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2019-06-18 16:26:51 +0300
commit59e7b9a8780e282cf90ede7ae8e3b1affe1e684e (patch)
treee5f7fd8a74f4a9495d872acdcdf4eb2b44f123f2 /platform/glfw/glfw_view.cpp
parent9beb740fb747e721b6a678bbe63399c70e132881 (diff)
downloadqtlocation-mapboxgl-59e7b9a8780e282cf90ede7ae8e3b1affe1e684e.tar.gz
[core] Rename resetCache to resetDatabase
Avoid confusion about what is being reset. In this case, the whole database and not only the ambient cache.
Diffstat (limited to 'platform/glfw/glfw_view.cpp')
-rw-r--r--platform/glfw/glfw_view.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/glfw/glfw_view.cpp b/platform/glfw/glfw_view.cpp
index cba3419672..41c3e93b35 100644
--- a/platform/glfw/glfw_view.cpp
+++ b/platform/glfw/glfw_view.cpp
@@ -222,7 +222,7 @@ void GLFWView::onKey(GLFWwindow *window, int key, int /*scancode*/, int action,
view->clearAnnotations();
break;
case GLFW_KEY_I:
- view->resetCacheCallback();
+ view->resetDatabaseCallback();
break;
case GLFW_KEY_K:
view->addRandomCustomPointAnnotations(1);