diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-08-13 17:22:15 +0200 |
---|---|---|
committer | bstoeger <32835590+bstoeger@users.noreply.github.com> | 2019-09-14 13:20:59 +0200 |
commit | a4f3580e10388a1aecfd10a3a70eaf10efe06640 (patch) | |
tree | 785a31577e77b1e7a34921c300ce5e1571184d29 /qt-models/divelistmodel.h | |
parent | feb11f6f5f8c22bec4e06b507e33c4169403d498 (diff) | |
download | subsurface-a4f3580e10388a1aecfd10a3a70eaf10efe06640.tar.gz |
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>
Diffstat (limited to 'qt-models/divelistmodel.h')
-rw-r--r-- | qt-models/divelistmodel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-models/divelistmodel.h b/qt-models/divelistmodel.h index e08479a21..cb7c902b3 100644 --- a/qt-models/divelistmodel.h +++ b/qt-models/divelistmodel.h @@ -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); |