From 003f5d18b64d14d941a774086472918f203a063d Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 28 Dec 2014 10:22:46 -0800 Subject: Automatic OSTC firmware update: download file and try to install This successfully downloads the hex file. The actuall update of the OSTC fails before it gets started with a crash when the ConfigureDiveComputer object is created. Signed-off-by: Dirk Hohndel --- qt-ui/downloadfromdivecomputer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui/downloadfromdivecomputer.cpp') diff --git a/qt-ui/downloadfromdivecomputer.cpp b/qt-ui/downloadfromdivecomputer.cpp index 59a8139d6..95d8b79b7 100644 --- a/qt-ui/downloadfromdivecomputer.cpp +++ b/qt-ui/downloadfromdivecomputer.cpp @@ -404,7 +404,7 @@ void DownloadFromDCWidget::onDownloadThreadFinished() MainWindow::instance()->dive_list()->selectDive(idx, true); QString dcName = data.devname; if (ostcFirmwareCheck) - ostcFirmwareCheck->checkLatest(this, data.libdc_firmware); + ostcFirmwareCheck->checkLatest(this, &data); } } else if (currentState == CANCELLING || currentState == CANCELLED) { if (import_thread_cancelled) { -- cgit v1.2.3-70-g09d2