mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add reminder for OSTC Sport to re-enable bluetooth
The OSTC Sport exits bluetooth mode after the loogbook download. To update the firmware in the OSTC Sport, we need it enabled again, so we gently remind the user about doing that before continuing. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
95461830bb
commit
e00233051e
1 changed files with 2 additions and 0 deletions
|
@ -242,6 +242,8 @@ void OstcFirmwareCheck::checkLatest(QWidget *_parent, device_data_t *data)
|
|||
QString message = tr("You should update the firmware on your dive computer: you have version %1 but the latest stable version is %2")
|
||||
.arg(firmware)
|
||||
.arg(latestFirmwareAvailable);
|
||||
if (strcmp(data->product, "OSTC Sport") == 0)
|
||||
message += tr("\n\nPlease start bluetooth on your OSTC Sport and do the same perparations as for a loogbook download before continuing with the update");
|
||||
response.addButton(tr("Not now"), QMessageBox::RejectRole);
|
||||
response.addButton(tr("Update firmware"), QMessageBox::AcceptRole);
|
||||
response.setText(message);
|
||||
|
|
Loading…
Add table
Reference in a new issue