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>
This commit is contained in:
Anton Lundin 2016-12-28 16:49:14 +01:00 committed by Subsurface
parent a5232a30b0
commit 4714f50eae
2 changed files with 24 additions and 8 deletions

View file

@ -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);
}