mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Warn when not compiling against the matching libdc version
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d58de37167
commit
63a4a755a3
2 changed files with 14 additions and 1 deletions
|
|
@ -94,13 +94,15 @@ BTDiscovery *BTDiscovery::instance()
|
|||
}
|
||||
|
||||
#if defined(BT_SUPPORT)
|
||||
|
||||
#if defined(SSRF_CUSTOM_IO)
|
||||
extern void addBtUuid(QBluetoothUuid uuid);
|
||||
#endif
|
||||
extern QHash<QString, QStringList> productList;
|
||||
extern QStringList vendorList;
|
||||
|
||||
void BTDiscovery::btDeviceDiscovered(const QBluetoothDeviceInfo &device)
|
||||
{
|
||||
#if defined(SSRF_CUSTOM_IO)
|
||||
btPairedDevice this_d;
|
||||
this_d.address = device.address();
|
||||
this_d.name = device.name();
|
||||
|
|
@ -113,6 +115,7 @@ void BTDiscovery::btDeviceDiscovered(const QBluetoothDeviceInfo &device)
|
|||
}
|
||||
|
||||
btDeviceDiscoveredMain(this_d);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BTDiscovery::btDeviceDiscoveredMain(const btPairedDevice &device)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue