summaryrefslogtreecommitdiffstats
path: root/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp')
-rw-r--r--tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp b/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp
index 941245e0..1550642b 100644
--- a/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp
+++ b/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp
@@ -266,7 +266,7 @@ void tst_QBluetoothServiceDiscoveryAgent::tst_serviceDiscoveryAdapters()
for (int i=0; i<numberOfAdapters; i++) {
addresses.append(((QBluetoothHostInfo)localDevice.allDevices().at(i)).address());
}
- QBluetoothServer server(QBluetoothServer::RfcommServer);
+ QBluetoothServer server(QBluetoothServiceInfo::RfcommProtocol);
QBluetoothUuid uuid(QBluetoothUuid::Ftp);
server.listen(addresses[0]);
QBluetoothServiceInfo serviceInfo;