Mobile: remove dive argument from DiveListModel::insertDive()

Since DiveListModel does not keep its own list of dives anymore,
insertDive() doesn't use the DiveObjectHelper argument. Remove it.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-08-13 17:22:15 +02:00 committed by bstoeger
parent feb11f6f5f
commit a4f3580e10
3 changed files with 6 additions and 6 deletions

View file

@ -50,7 +50,7 @@ public:
DiveListModel(QObject *parent = 0);
void addDive(const QList<dive *> &listOfDives);
void addAllDives();
void insertDive(int i, DiveObjectHelper *newDive);
void insertDive(int i);
void removeDive(int i);
void removeDiveById(int id);
void updateDive(int i, dive *d);