summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bluetooth/qbluetoothdevicediscoveryagent_win.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bluetooth/qbluetoothdevicediscoveryagent_win.cpp b/src/bluetooth/qbluetoothdevicediscoveryagent_win.cpp
index 1192677e..e1c6bea4 100644
--- a/src/bluetooth/qbluetoothdevicediscoveryagent_win.cpp
+++ b/src/bluetooth/qbluetoothdevicediscoveryagent_win.cpp
@@ -507,7 +507,7 @@ void QBluetoothDeviceDiscoveryAgentPrivate::completeClassicDevicesDiscovery(cons
} else {
if (result.systemErrorCode == ERROR_NO_MORE_ITEMS) {
closeClassicSearch(result.hSearch);
- finishDiscovery(QBluetoothDeviceDiscoveryAgent::NoError, qt_error_string(NO_ERROR));
+ finishDiscovery(QBluetoothDeviceDiscoveryAgent::NoError, QString());
} else if (result.systemErrorCode == NO_ERROR) {
if (result.hSearch) {
for (const QBluetoothDeviceInfo &device : result.devices)
@@ -515,7 +515,7 @@ void QBluetoothDeviceDiscoveryAgentPrivate::completeClassicDevicesDiscovery(cons
startClassicDevicesDiscovery(result.hSearch);
} else {
- finishDiscovery(QBluetoothDeviceDiscoveryAgent::NoError, qt_error_string(NO_ERROR));
+ finishDiscovery(QBluetoothDeviceDiscoveryAgent::NoError, QString());
}
} else {
closeClassicSearch(result.hSearch);