mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Progress towards automatic OSTC firmware updates
Better parsing of the website data, a simpe dialog that informs the user that they should upgrade their firmware. Still doen't call the right code path to DO the upgrade. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a0d36e2061
commit
2461a731fc
3 changed files with 19 additions and 6 deletions
|
@ -403,7 +403,7 @@ void DownloadFromDCWidget::onDownloadThreadFinished()
|
|||
MainWindow::instance()->dive_list()->selectDive(idx, true);
|
||||
QString dcName = data.devname;
|
||||
if (ostcFirmwareCheck)
|
||||
ostcFirmwareCheck->checkLatest(data.libdc_firmware);
|
||||
ostcFirmwareCheck->checkLatest(this, data.libdc_firmware);
|
||||
}
|
||||
} else if (currentState == CANCELLING || currentState == CANCELLED) {
|
||||
if (import_thread_cancelled) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue