diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-06-05 09:19:15 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-06-11 13:55:41 -0700 |
commit | e7cd1785c420ba797477c8bd272ee02547731048 (patch) | |
tree | 7be9d3276dd8416b00556aab6ddba56237e997b1 /core/downloadfromdcthread.cpp | |
parent | 8faf33eac6eb770dca8b4ffae1bc5bffe1d865d9 (diff) | |
download | subsurface-e7cd1785c420ba797477c8bd272ee02547731048.tar.gz |
QML UI: add paired BT devices as vendor
This way the user can explicitly chose which dive computer they
want to download from.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/downloadfromdcthread.cpp')
-rw-r--r-- | core/downloadfromdcthread.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/downloadfromdcthread.cpp b/core/downloadfromdcthread.cpp index 0d4a90cf0..20f170125 100644 --- a/core/downloadfromdcthread.cpp +++ b/core/downloadfromdcthread.cpp @@ -94,6 +94,9 @@ void fill_computer_list() descriptorLookup["UemisZurich"] = (dc_descriptor_t *)mydescriptor; qSort(vendorList); +#if defined(SUBSURFACE_MOBILE) && defined(BT_SUPPORT) + vendorList.append(QObject::tr("Paired Bluetooth Devices")); +#endif } DCDeviceData::DCDeviceData(QObject *parent) : QObject(parent) |