aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/downloadfromdivecomputer.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/downloadfromdivecomputer.h')
-rw-r--r--qt-ui/downloadfromdivecomputer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/qt-ui/downloadfromdivecomputer.h b/qt-ui/downloadfromdivecomputer.h
index f092314c0..e10d61b38 100644
--- a/qt-ui/downloadfromdivecomputer.h
+++ b/qt-ui/downloadfromdivecomputer.h
@@ -15,8 +15,10 @@ struct device_data_t;
class DownloadThread : public QThread{
Q_OBJECT
public:
- explicit DownloadThread(QObject* parent, device_data_t* data);
+ DownloadThread(QObject* parent, device_data_t* data);
virtual void run();
+
+ QString error;
private:
device_data_t *data;
};
@@ -34,6 +36,7 @@ public:
DOWNLOADING,
CANCELLING,
CANCELLED,
+ ERROR,
DONE,
};