mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
f3b04a88df
commit
48ba01b807
4 changed files with 19 additions and 10 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue