summaryrefslogtreecommitdiffstats
path: root/qt-ui/downloadfromdivecomputer.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-01-08 11:52:12 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-08 07:46:41 -0800
commitf5f0938d8cd2193621f0d20d64eb0259c06788bf (patch)
tree8bb7dfb57d1d2b397008360d00c00544d49dce27 /qt-ui/downloadfromdivecomputer.h
parent25323c271747abbd7cdcd7487ee12a7dac72eda5 (diff)
downloadsubsurface-f5f0938d8cd2193621f0d20d64eb0259c06788bf.tar.gz
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>
Diffstat (limited to 'qt-ui/downloadfromdivecomputer.h')
-rw-r--r--qt-ui/downloadfromdivecomputer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/downloadfromdivecomputer.h b/qt-ui/downloadfromdivecomputer.h
index b567dfe0e..ea272599e 100644
--- a/qt-ui/downloadfromdivecomputer.h
+++ b/qt-ui/downloadfromdivecomputer.h
@@ -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;