aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-18 14:13:23 +0900
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-19 20:12:58 +0900
commitc4899aa8f1ba9ec97818bc138c0dd63f4d02b683 (patch)
tree9bc639fbf5e41051bdd545a50d4f5b07666aa7d9 /qt-ui
parent047032ee46ef00d924dea0ee68b0f2726975fcd6 (diff)
downloadsubsurface-c4899aa8f1ba9ec97818bc138c0dd63f4d02b683.tar.gz
Download from dive computer: Fix the broken selection of devices
The old code was completely bogus - it's confused about what the variable 'i' is counting. This also let's us select the Uemis mount point by default if that's the only valid "device" that we found. Compile tested on Windows, untested on Mac. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/downloadfromdivecomputer.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/qt-ui/downloadfromdivecomputer.cpp b/qt-ui/downloadfromdivecomputer.cpp
index 0347932d5..8c0f81aa5 100644
--- a/qt-ui/downloadfromdivecomputer.cpp
+++ b/qt-ui/downloadfromdivecomputer.cpp
@@ -56,7 +56,6 @@ DownloadFromDCWidget::DownloadFromDCWidget(QWidget *parent, Qt::WindowFlags f) :
progress_bar_text = "";
- fill_device_list(DC_TYPE_OTHER);
fill_computer_list();
ui.chooseDumpFile->setEnabled(ui.dumpToFile->isChecked());