From 285fa8acbceebf5dc87c5c3befe42a2917a3b844 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Wed, 11 Mar 2020 11:30:51 +0100 Subject: Grammar: replaces 'indexes' by 'indices' Grammar-nazi ran git grep -l 'indexes' | xargs sed -i '' -e 's/indexes/indices/g' to prevent future wincing when reading the source code. Unfortunatly, Qt itself is infected as in QModelIndexList QItemSelection::indexes() const Signed-off-by: Robert C. Helling --- map-widget/qmlmapwidgethelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'map-widget') 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 -- cgit v1.2.3-70-g09d2