From e00233051e03b5f015f9118df646d7164d72e416 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Tue, 30 Dec 2014 00:25:55 +0100 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/configuredivecomputerdialog.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-ui') 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); -- cgit v1.2.3-70-g09d2