mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
cb28158b9a
commit
285fa8acbc
26 changed files with 88 additions and 88 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue