summaryrefslogtreecommitdiffstats
path: root/core/btdiscovery.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/btdiscovery.cpp')
-rw-r--r--core/btdiscovery.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/btdiscovery.cpp b/core/btdiscovery.cpp
index 254088ec1..5fa6a7c80 100644
--- a/core/btdiscovery.cpp
+++ b/core/btdiscovery.cpp
@@ -127,9 +127,7 @@ 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;
@@ -151,7 +149,6 @@ QString markBLEAddress(const QBluetoothDeviceInfo *device)
void BTDiscovery::btDeviceDiscovered(const QBluetoothDeviceInfo &device)
{
-#if defined(SSRF_CUSTOM_IO)
btPairedDevice this_d;
this_d.address = markBLEAddress(&device);
this_d.name = device.name();
@@ -173,7 +170,6 @@ void BTDiscovery::btDeviceDiscovered(const QBluetoothDeviceInfo &device)
#endif
btDeviceDiscoveredMain(this_d);
-#endif
}
void BTDiscovery::btDeviceDiscoveredMain(const btPairedDevice &device)