diff options
author | Robert C. Helling <helling@atdotde.de> | 2020-03-11 11:30:51 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-11 08:26:30 -0700 |
commit | 285fa8acbceebf5dc87c5c3befe42a2917a3b844 (patch) | |
tree | 142efc52856b5f4bded40867a917800c241ebfb6 /qt-models/mobilelistmodel.h | |
parent | cb28158b9abe10f08142f12f11ddbb5d23686fd5 (diff) | |
download | subsurface-285fa8acbceebf5dc87c5c3befe42a2917a3b844.tar.gz |
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 <helling@atdotde.de>
Diffstat (limited to 'qt-models/mobilelistmodel.h')
-rw-r--r-- | qt-models/mobilelistmodel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-models/mobilelistmodel.h b/qt-models/mobilelistmodel.h index c289684bd..23ed83028 100644 --- a/qt-models/mobilelistmodel.h +++ b/qt-models/mobilelistmodel.h @@ -136,7 +136,7 @@ private: mutable QModelIndex cacheSourceParent; mutable int cacheSourceRow = -1; - // Translate indexes from/to source + // Translate indices from/to source int topLevelRowCountInSource(int sourceRow) const; QModelIndex mapToSource(const QModelIndex &index) const; int mapTopLevelFromSource(int row) const; |