summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Stefan Fuchs <sfuchs@gmx.de>2018-03-03 15:00:56 +0100
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2018-03-04 12:53:36 +0200
commitff076cd5d4fd8423d6801f87098c217e89701cd1 (patch)
tree0562fbd01e5d3b445e61a31fd25c86cd5e90b086 /desktop-widgets
parent0ca52f868ebe5def65153970061a1d6132ede3be (diff)
downloadsubsurface-ff076cd5d4fd8423d6801f87098c217e89701cd1.tar.gz
Correctly spell OSTC cR
Correctly spell OSTC cR (wrong: "Cr") in two files. Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/configuredivecomputerdialog.cpp2
-rw-r--r--desktop-widgets/downloadfromdivecomputer.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/configuredivecomputerdialog.cpp b/desktop-widgets/configuredivecomputerdialog.cpp
index 4f5da16bf..970ffb96e 100644
--- a/desktop-widgets/configuredivecomputerdialog.cpp
+++ b/desktop-widgets/configuredivecomputerdialog.cpp
@@ -241,7 +241,7 @@ OstcFirmwareCheck::OstcFirmwareCheck(QString product) : parent(0)
{
QUrl url;
memset(&devData, 1, sizeof(devData));
- if (product == "OSTC 3" || product == "OSTC 3+" || product == "OSTC Cr") {
+ if (product == "OSTC 3" || product == "OSTC 3+" || product == "OSTC cR") {
url = QUrl("http://www.heinrichsweikamp.net/autofirmware/ostc3_changelog.txt");
latestFirmwareHexFile = QString("http://www.heinrichsweikamp.net/autofirmware/ostc3_firmware.hex");
} else if (product == "OSTC Sport") {
diff --git a/desktop-widgets/downloadfromdivecomputer.cpp b/desktop-widgets/downloadfromdivecomputer.cpp
index ed94cff18..8940899f9 100644
--- a/desktop-widgets/downloadfromdivecomputer.cpp
+++ b/desktop-widgets/downloadfromdivecomputer.cpp
@@ -334,7 +334,7 @@ void DownloadFromDCWidget::on_downloadCancelRetryButton_clicked()
//
// We shouldn't do this for memory dumps.
if ((product == "OSTC 3" || product == "OSTC 3+" ||
- product == "OSTC Cr" || product == "OSTC Sport" ||
+ product == "OSTC cR" || product == "OSTC Sport" ||
product == "OSTC 4") && ! data->saveDump())
ostcFirmwareCheck = new OstcFirmwareCheck(product);
}