From e7cd1785c420ba797477c8bd272ee02547731048 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 5 Jun 2017 09:19:15 -0700 Subject: [PATCH] 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 --- core/downloadfromdcthread.cpp | 3 +++ 1 file changed, 3 insertions(+) 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)