diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-01-11 07:46:21 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-11 07:46:21 -0800 |
commit | 578e9c22af7277430a0f8a3bd684ea22d91612fd (patch) | |
tree | 380e9b7d1cc0ac96654c194e86928d4b7349c32f /qt-ui/downloadfromdivecomputer.h | |
parent | bccbdf8264cd86890f0719e10e665a73b062e96e (diff) | |
download | subsurface-578e9c22af7277430a0f8a3bd684ea22d91612fd.tar.gz |
Dive d/l selection UI: clear table when retrying
After a partial download (because the user hits cancel or because there
was an error, if the user hits Retry the list of dives downloaded so far
should be cleared because we will simply try to re-download the same dives
again.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/downloadfromdivecomputer.h')
-rw-r--r-- | qt-ui/downloadfromdivecomputer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/downloadfromdivecomputer.h b/qt-ui/downloadfromdivecomputer.h index c92190b78..92db09d66 100644 --- a/qt-ui/downloadfromdivecomputer.h +++ b/qt-ui/downloadfromdivecomputer.h @@ -36,7 +36,7 @@ public: QVariant headerData(int section, Qt::Orientation orientation, int role) const; void setImportedDivesIndexes(int first, int last); Qt::ItemFlags flags(const QModelIndex &index) const; - void removeUnused(); + void clearTable(); public slots: |