[PATCH 2/3] Notify all OSTC users about bluetooth prep

Anton Lundin glance at acc.umu.se
Wed Dec 28 11:56:14 PST 2016


Use more general wording about bluetooth preparations, because nowadays
there are more computers than the Ostc Sport which use bluetooth.

Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
 desktop-widgets/configuredivecomputerdialog.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/desktop-widgets/configuredivecomputerdialog.cpp b/desktop-widgets/configuredivecomputerdialog.cpp
index 27e385d..9ee8a0b 100644
--- a/desktop-widgets/configuredivecomputerdialog.cpp
+++ b/desktop-widgets/configuredivecomputerdialog.cpp
@@ -271,8 +271,7 @@ 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(firmwareOnDeviceString)
 					  .arg(latestFirmwareAvailable);
-		if (strcmp(data->product, "OSTC Sport") == 0)
-			message += tr("\n\nPlease start Bluetooth on your OSTC Sport and do the same preparations as for a logbook download before continuing with the update");
+		message += tr("\n\nIf your device uses Bluetooth, do the same preparations as for a logbook download before continuing with the update");
 		response.addButton(tr("Not now"), QMessageBox::RejectRole);
 		response.addButton(tr("Update firmware"), QMessageBox::AcceptRole);
 		response.setText(message);
-- 
2.9.3



More information about the subsurface mailing list