aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2014-10-12 06:57:32 -0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-12 07:34:46 -0400
commita7e1e7fee1c2afc61b37a0bea76032d169dcee7a (patch)
tree06b9ce2eca7e6e6e0c8ad89875bfff3e53a426cc /qt-ui
parent9882bf5ff8762ebe4741b6380c3ed1088027e5cc (diff)
downloadsubsurface-a7e1e7fee1c2afc61b37a0bea76032d169dcee7a.tar.gz
Pass the whole 'device_data_t' to the uemis downloader
Not only does it make it look more like the libdivecomputer downloaders, but the uemis downloader needs it in order to support all the flags we have. Notably "download into private trip". Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/downloadfromdivecomputer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/downloadfromdivecomputer.cpp b/qt-ui/downloadfromdivecomputer.cpp
index fe5d4ee9a..112d10586 100644
--- a/qt-ui/downloadfromdivecomputer.cpp
+++ b/qt-ui/downloadfromdivecomputer.cpp
@@ -477,7 +477,7 @@ void DownloadThread::run()
const char *errorText;
import_thread_cancelled = false;
if (!strcmp(data->vendor, "Uemis"))
- errorText = do_uemis_import(data->devname, data->force_download);
+ errorText = do_uemis_import(data);
else
errorText = do_libdivecomputer_import(data);
if (errorText)