mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
8faf33eac6
commit
e7cd1785c4
1 changed files with 3 additions and 0 deletions
|
@ -94,6 +94,9 @@ void fill_computer_list()
|
||||||
descriptorLookup["UemisZurich"] = (dc_descriptor_t *)mydescriptor;
|
descriptorLookup["UemisZurich"] = (dc_descriptor_t *)mydescriptor;
|
||||||
|
|
||||||
qSort(vendorList);
|
qSort(vendorList);
|
||||||
|
#if defined(SUBSURFACE_MOBILE) && defined(BT_SUPPORT)
|
||||||
|
vendorList.append(QObject::tr("Paired Bluetooth Devices"));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
DCDeviceData::DCDeviceData(QObject *parent) : QObject(parent)
|
DCDeviceData::DCDeviceData(QObject *parent) : QObject(parent)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue