summaryrefslogtreecommitdiffstats
path: root/tests/bttestui/btlocaldevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bttestui/btlocaldevice.cpp')
-rw-r--r--tests/bttestui/btlocaldevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bttestui/btlocaldevice.cpp b/tests/bttestui/btlocaldevice.cpp
index b2bcaf1d..5b84794c 100644
--- a/tests/bttestui/btlocaldevice.cpp
+++ b/tests/bttestui/btlocaldevice.cpp
@@ -411,7 +411,7 @@ void BtLocalDevice::connectToServiceViaSearch()
socket->setPreferredSecurityFlags(securityFlags);
QBluetoothServiceInfo info = foundTestServers.at(0);
- socket->connectToService(info.device().address(), QBluetoothUuid(QString(TEST_SERVICE_UUID)));
+ socket->connectToService(info);
} else {
qWarning() << "Perform search for test service before triggering this function";
}