diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-12-27 08:31:51 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-12-27 08:31:51 -0800 |
commit | 52084c80f7f03f8e8066bc7ccf9f747a38cbd60c (patch) | |
tree | f077e98775f53876ef8c6954f7625b5673c6a7a3 /qt-ui/downloadfromdivecomputer.h | |
parent | 9f95f3ce18a1c25b0407335f472987c64940153d (diff) | |
download | subsurface-52084c80f7f03f8e8066bc7ccf9f747a38cbd60c.tar.gz |
Move OSTC firmware check around a bit
This rearranges the code so we can call it from the download dialog and
tell the user if there is a newer version of the firmware available.
This needs a proper dialog and needs to be hooked up so that the user can
accept the suggestion and go directly to the firmware update code.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/downloadfromdivecomputer.h')
-rw-r--r-- | qt-ui/downloadfromdivecomputer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/downloadfromdivecomputer.h b/qt-ui/downloadfromdivecomputer.h index 394766c07..dcb568c9e 100644 --- a/qt-ui/downloadfromdivecomputer.h +++ b/qt-ui/downloadfromdivecomputer.h @@ -6,7 +6,8 @@ #include <QHash> #include <QMap> -#include "../libdivecomputer.h" +#include "libdivecomputer.h" +#include "configuredivecomputerdialog.h" #include "ui_downloadfromdivecomputer.h" class QStringListModel; @@ -75,6 +76,7 @@ private: QString dumpFile; QTimer *timer; bool dumpWarningShown; + OstcFirmwareCheck *ostcFirmwareCheck; public: bool preferDownloaded(); |