mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
a5232a30b0
commit
4714f50eae
2 changed files with 24 additions and 8 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue