summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/downloadfromdivecomputer.cpp
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2016-12-28 16:49:14 +0100
committerGravatar Subsurface <dirk@subsurface-divelog.org>2017-01-12 14:15:53 -0800
commit4714f50eaeb5a08103121d28bf627bdc6c5781b6 (patch)
tree2d7980404253ca2e92ab3bdd40fcd5460484cceb /desktop-widgets/downloadfromdivecomputer.cpp
parenta5232a30b05e18e4104afdeb668d40e1e21a347d (diff)
downloadsubsurface-4714f50eaeb5a08103121d28bf627bdc6c5781b6.tar.gz
Notify Ostc 4 users about new firmwares
This adds support for notifying Ostc 4 users about new firmwares when they download dives from their computers, gives them the option to trigger the upgrade flow. Signed-off-by: Anton Lundin <glance@acc.umu.se>
Diffstat (limited to 'desktop-widgets/downloadfromdivecomputer.cpp')
-rw-r--r--desktop-widgets/downloadfromdivecomputer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop-widgets/downloadfromdivecomputer.cpp b/desktop-widgets/downloadfromdivecomputer.cpp
index 61ec172c8..ab8e5a310 100644
--- a/desktop-widgets/downloadfromdivecomputer.cpp
+++ b/desktop-widgets/downloadfromdivecomputer.cpp
@@ -371,7 +371,8 @@ void DownloadFromDCWidget::on_downloadCancelRetryButton_clicked()
// this check will compair apples and oranges, firmware wise, then.
QString product(ui.product->currentText());
if (product == "OSTC 3" || product == "OSTC 3+" ||
- product == "OSTC Cr" || product == "OSTC Sport")
+ product == "OSTC Cr" || product == "OSTC Sport" ||
+ product == "OSTC 4")
ostcFirmwareCheck = new OstcFirmwareCheck(product);
}