summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/downloadfromdivecomputer.cpp
diff options
context:
space:
mode:
authorGravatar Stefan Fuchs <sfuchs@gmx.de>2018-03-03 15:04:49 +0100
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2018-03-04 12:53:36 +0200
commit3eb5970becf101be6f33085d120976bc7b8b5020 (patch)
tree2aaaf0477a24fb46e384f7308a7504c11eb16a67 /desktop-widgets/downloadfromdivecomputer.cpp
parentff076cd5d4fd8423d6801f87098c217e89701cd1 (diff)
downloadsubsurface-3eb5970becf101be6f33085d120976bc7b8b5020.tar.gz
Indentation fix in desktop-widgets/downloadfromdivecomputer.cpp
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'desktop-widgets/downloadfromdivecomputer.cpp')
-rw-r--r--desktop-widgets/downloadfromdivecomputer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop-widgets/downloadfromdivecomputer.cpp b/desktop-widgets/downloadfromdivecomputer.cpp
index 8940899f9..ba1196826 100644
--- a/desktop-widgets/downloadfromdivecomputer.cpp
+++ b/desktop-widgets/downloadfromdivecomputer.cpp
@@ -333,10 +333,10 @@ void DownloadFromDCWidget::on_downloadCancelRetryButton_clicked()
QString product(ui.product->currentText());
//
// We shouldn't do this for memory dumps.
- if ((product == "OSTC 3" || product == "OSTC 3+" ||
- product == "OSTC cR" || product == "OSTC Sport" ||
- product == "OSTC 4") && ! data->saveDump())
- ostcFirmwareCheck = new OstcFirmwareCheck(product);
+ if ((product == "OSTC 3" || product == "OSTC 3+" || product == "OSTC cR" ||
+ product == "OSTC Sport" || product == "OSTC 4") && !data->saveDump()) {
+ ostcFirmwareCheck = new OstcFirmwareCheck(product);
+ }
}
bool DownloadFromDCWidget::preferDownloaded()