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
|
@ -94,7 +94,7 @@ MobileListModel::MobileListModel(DiveTripModelBase *source) : MobileListModelBas
|
|||
}
|
||||
|
||||
// We want to show the newest dives first. Therefore, we have to invert
|
||||
// the indexes with respect to the source model. To avoid mental gymnastics
|
||||
// the indices with respect to the source model. To avoid mental gymnastics
|
||||
// in the rest of the code, we do this right before sending to the
|
||||
// source model and just after recieving from the source model, respectively.
|
||||
QModelIndex MobileListModel::sourceIndex(int row, int col, int parentRow) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue