diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-01-09 14:39:43 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-09 15:06:25 -0800 |
commit | e43ea018fa2faecfc6ebb5a7831bafbfefca183d (patch) | |
tree | afbebce42fabdaf887d94e539d281c9567ae7d99 /qt-ui/downloadfromdivecomputer.cpp | |
parent | 6f25713408797bb5563af730ca991bc5ec474e33 (diff) | |
download | subsurface-e43ea018fa2faecfc6ebb5a7831bafbfefca183d.tar.gz |
Add a private table for downloaded dives
This still isn't actually used, just puts it in place.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/downloadfromdivecomputer.cpp')
-rw-r--r-- | qt-ui/downloadfromdivecomputer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/downloadfromdivecomputer.cpp b/qt-ui/downloadfromdivecomputer.cpp index fb981c9f8..87529456b 100644 --- a/qt-ui/downloadfromdivecomputer.cpp +++ b/qt-ui/downloadfromdivecomputer.cpp @@ -38,6 +38,8 @@ namespace DownloadFromDcGlobal { const char *err_string; }; +struct dive_table downloadTable; + DownloadFromDCWidget::DownloadFromDCWidget(QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f), thread(0), downloading(false), @@ -49,6 +51,7 @@ DownloadFromDCWidget::DownloadFromDCWidget(QWidget *parent, Qt::WindowFlags f) : ostcFirmwareCheck(0), currentState(INITIAL) { + clear_table(&downloadTable); ui.setupUi(this); ui.progressBar->hide(); ui.progressBar->setMinimum(0); |