aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/downloadfromdivecomputer.cpp
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2017-01-08 14:04:11 +0100
committerGravatar Subsurface <dirk@subsurface-divelog.org>2017-01-12 14:15:53 -0800
commita5232a30b05e18e4104afdeb668d40e1e21a347d (patch)
tree988ad2ba2469fc11e842bfc4b4ea04abe078d26c /desktop-widgets/downloadfromdivecomputer.cpp
parent48b2b3d0b339dc0642c1554a6d512eb04dc521df (diff)
downloadsubsurface-a5232a30b05e18e4104afdeb668d40e1e21a347d.tar.gz
Document potential bug source
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Diffstat (limited to 'desktop-widgets/downloadfromdivecomputer.cpp')
-rw-r--r--desktop-widgets/downloadfromdivecomputer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop-widgets/downloadfromdivecomputer.cpp b/desktop-widgets/downloadfromdivecomputer.cpp
index 2fa68b58e..61ec172c8 100644
--- a/desktop-widgets/downloadfromdivecomputer.cpp
+++ b/desktop-widgets/downloadfromdivecomputer.cpp
@@ -365,6 +365,10 @@ void DownloadFromDCWidget::on_downloadCancelRetryButton_clicked()
thread->start();
+ // FIXME: We should get the _actual_ device info instead of whatever
+ // the user entered in the dropdown.
+ // You can enter "OSTC 3" and download just fine from a "OSTC Sport", but
+ // this check will compair apples and oranges, firmware wise, then.
QString product(ui.product->currentText());
if (product == "OSTC 3" || product == "OSTC 3+" ||
product == "OSTC Cr" || product == "OSTC Sport")