Document potential bug source

Signed-off-by: Anton Lundin <glance@acc.umu.se>
This commit is contained in:
Anton Lundin 2017-01-08 14:04:11 +01:00 committed by Subsurface
parent 48b2b3d0b3
commit a5232a30b0

View file

@ -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")