aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/configuredivecomputerdialog.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2018-08-27 10:32:14 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-27 22:10:38 -0700
commit270e9eccad8644352f5ae07df8b6acb55b115361 (patch)
tree0b6aaee8221fc2c12d9b084e42179e1a2d9633f0 /desktop-widgets/configuredivecomputerdialog.h
parentbb067b6ee4828fc2444395d4cfda80831c4721bb (diff)
downloadsubsurface-270e9eccad8644352f5ae07df8b6acb55b115361.tar.gz
Make device enumeration use the device transport data
This removes some special-case code for Uemis, replacing it with simply passing in the device transport information. This makes device enumeration work for the Garmin Descent (if it is listed by libdivecomputer as a USB storage device, that is). I don't actually do any of the libdivecomputer parsing yet, and only have a stub for the Garmin Descent, but now the directory selection works with that stub. The actual download obviously does not. [Dirk Hohndel: removed obsolete FIXME from code] Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/configuredivecomputerdialog.h')
-rw-r--r--desktop-widgets/configuredivecomputerdialog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/configuredivecomputerdialog.h b/desktop-widgets/configuredivecomputerdialog.h
index f8e3ea143..ba4e3361d 100644
--- a/desktop-widgets/configuredivecomputerdialog.h
+++ b/desktop-widgets/configuredivecomputerdialog.h
@@ -102,7 +102,7 @@ private:
device_data_t device_data;
void getDeviceData();
- void fill_device_list(int dc_type);
+ void fill_device_list(unsigned int transport);
DeviceDetails *deviceDetails;
void populateDeviceDetails();