diff options
Diffstat (limited to 'examples/mapsdemo/marker.cpp')
-rw-r--r-- | examples/mapsdemo/marker.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/mapsdemo/marker.cpp b/examples/mapsdemo/marker.cpp index 1c99958b93..28053fa9a9 100644 --- a/examples/mapsdemo/marker.cpp +++ b/examples/mapsdemo/marker.cpp @@ -247,6 +247,7 @@ void MarkerManager::removeSearchMarkers() { foreach (Marker *m, d->searchMarkers) { d->map->removeMapObject(m); + d->searchMarkers.removeOne(m); delete m; } } |