diff options
author | Anton Lundin <glance@acc.umu.se> | 2014-12-30 00:25:55 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-12-29 16:27:26 -0800 |
commit | e00233051e03b5f015f9118df646d7164d72e416 (patch) | |
tree | 7ebc641ef9c7eb7ec5862a9f8d8bd28d9a365529 /qt-ui/configuredivecomputerdialog.cpp | |
parent | 95461830bb15d140193f1228c6da5c12c5f83890 (diff) | |
download | subsurface-e00233051e03b5f015f9118df646d7164d72e416.tar.gz |
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>
Diffstat (limited to 'qt-ui/configuredivecomputerdialog.cpp')
-rw-r--r-- | qt-ui/configuredivecomputerdialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/configuredivecomputerdialog.cpp b/qt-ui/configuredivecomputerdialog.cpp index f30618f62..25fe69b2d 100644 --- a/qt-ui/configuredivecomputerdialog.cpp +++ b/qt-ui/configuredivecomputerdialog.cpp @@ -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); |