diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-06-24 15:14:07 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-06-24 15:14:07 -0700 |
commit | 48ba01b807cc993e5689abe2ff781d31deb4c91a (patch) | |
tree | cfd486fc31e70dbe1c55198e0000515af5fecec5 /qt-ui/downloadfromdivecomputer.cpp | |
parent | f3b04a88dffcda6cbe10be81d5c9613e0ab00c37 (diff) | |
download | subsurface-48ba01b807cc993e5689abe2ff781d31deb4c91a.tar.gz |
Enable downloads from the UEMIS Zurich
This behaves somewhat differently from the Gtk version - still needs
more investigation. But at least now it's hooked in.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/downloadfromdivecomputer.cpp')
-rw-r--r-- | qt-ui/downloadfromdivecomputer.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/qt-ui/downloadfromdivecomputer.cpp b/qt-ui/downloadfromdivecomputer.cpp index 37ca2775b..f3cd45c71 100644 --- a/qt-ui/downloadfromdivecomputer.cpp +++ b/qt-ui/downloadfromdivecomputer.cpp @@ -183,7 +183,10 @@ DownloadThread::DownloadThread(device_data_t* data): data(data) void DownloadThread::run() { DownloadFromDCWidget *dfdcw = DownloadFromDCWidget::instance(); - do_libdivecomputer_import(data); + if (!strcmp(data->vendor, "Uemis")) + do_uemis_import(data->devname, data->force_download); + else + do_libdivecomputer_import(data); process_dives(TRUE, dfdcw->preferDownloaded()); dfdcw->stoppedDownloading(); } |