mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Dive d/l selection UI: Add method to remove unused dives
This tries to relete from the dive list the dives that shouldn't be imported. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
25323c2717
commit
f5f0938d8c
2 changed files with 19 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ public:
|
|||
bool setData(const QModelIndex &index, const QVariant &value, int role);
|
||||
void setImportedDivesIndexes(int first, int last);
|
||||
Qt::ItemFlags flags(const QModelIndex &index) const;
|
||||
void removeUnused();
|
||||
private:
|
||||
int firstIndex;
|
||||
int lastIndex;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue