summaryrefslogtreecommitdiffstats
path: root/map-widget/qmlmapwidgethelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'map-widget/qmlmapwidgethelper.cpp')
-rw-r--r--map-widget/qmlmapwidgethelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/map-widget/qmlmapwidgethelper.cpp b/map-widget/qmlmapwidgethelper.cpp
index ff5f47f35..b2017aa49 100644
--- a/map-widget/qmlmapwidgethelper.cpp
+++ b/map-widget/qmlmapwidgethelper.cpp
@@ -178,7 +178,7 @@ void MapWidgetHelper::selectVisibleLocations()
QMetaObject::invokeMethod(m_map, "fromCoordinate", Q_RETURN_ARG(QPointF, point),
Q_ARG(QGeoCoordinate, dsCoord));
if (!qIsNaN(point.x()))
-#ifndef SUBSURFACE_MOBILE // indexes on desktop
+#ifndef SUBSURFACE_MOBILE // indices on desktop
selectedDiveIds.append(idx);
}
#else // use id on mobile instead of index