summaryrefslogtreecommitdiffstats
path: root/qt-ui/downloadfromdivecomputer.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-28 10:22:46 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-28 10:22:46 -0800
commit003f5d18b64d14d941a774086472918f203a063d (patch)
tree41d31bcfc4cdd6e1be789501d200688b4c05425f /qt-ui/downloadfromdivecomputer.cpp
parent0be0cdb046018a5ec633bfc6f0aacba20d5c35e2 (diff)
downloadsubsurface-003f5d18b64d14d941a774086472918f203a063d.tar.gz
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 <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/downloadfromdivecomputer.cpp')
-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 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) {