Correctly name member function gasChange of DivePlannerPointsModel

Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
Stefan Fuchs 2017-10-11 22:03:03 +02:00 committed by Robert C. Helling
parent 3e67bfaea6
commit bfe52f6689
3 changed files with 3 additions and 3 deletions

View file

@ -348,7 +348,7 @@ bool DivePlannerPointsModel::setData(const QModelIndex &index, const QVariant &v
return QAbstractItemModel::setData(index, value, role);
}
void DivePlannerPointsModel::gaschange(const QModelIndex &index, int newcylinderid)
void DivePlannerPointsModel::gasChange(const QModelIndex &index, int newcylinderid)
{
int i = index.row(), oldcylinderid = divepoints[i].cylinderid;
while (i < rowCount() && oldcylinderid == divepoints[i].cylinderid)