From a7e1e7fee1c2afc61b37a0bea76032d169dcee7a Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sun, 12 Oct 2014 06:57:32 -0400 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/downloadfromdivecomputer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui') 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) -- cgit v1.2.3-70-g09d2