mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add helper to remove dive from model
I tried various things to do this from QML but it just doesn't seem to work at all. So I gave up and instead added a trivial helper function. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
957f03f2a4
commit
9f7ecbb53e
4 changed files with 19 additions and 1 deletions
|
|
@ -33,6 +33,7 @@ public:
|
|||
void addDive(dive *d);
|
||||
void insertDive(int i, DiveObjectHelper *newDive);
|
||||
void removeDive(int i);
|
||||
void removeDiveById(int id);
|
||||
void updateDive(int i, dive *d);
|
||||
void clear();
|
||||
int rowCount(const QModelIndex &parent = QModelIndex()) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue