summaryrefslogtreecommitdiffstats
path: root/qt-ui/downloadfromdivecomputer.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-08 06:33:46 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-08 06:33:46 +0100
commit50a1ed8d6eec849a41026653cc9ce411dcd679bb (patch)
tree3f498260ca0db4f045abfad9551d398920a1f157 /qt-ui/downloadfromdivecomputer.h
parentad6fab9fb0ba85b3a1f7af28c55248c6230b3f88 (diff)
downloadsubsurface-50a1ed8d6eec849a41026653cc9ce411dcd679bb.tar.gz
When the user cancels a download, reject already downloaded dives
This seems like the more logical behavior, anyway. Cancel means you didn't want the result... Fixes #341 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 2e6165635..2c411cfc9 100644
--- a/qt-ui/downloadfromdivecomputer.h
+++ b/qt-ui/downloadfromdivecomputer.h
@@ -59,6 +59,7 @@ private:
QHash<QString, QStringList> productList;
QMap<QString, dc_descriptor_t *> descriptorLookup;
device_data_t data;
+ int previousLast;
QStringListModel *vendorModel;
QStringListModel *productModel;