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>
This commit is contained in:
Dirk Hohndel 2017-06-05 09:19:15 -07:00
parent 8faf33eac6
commit e7cd1785c4

View file

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