diff options
Diffstat (limited to 'tests/auto/qrfcommserver/rfcommclient/rfcommclient.cpp')
-rw-r--r-- | tests/auto/qrfcommserver/rfcommclient/rfcommclient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qrfcommserver/rfcommclient/rfcommclient.cpp b/tests/auto/qrfcommserver/rfcommclient/rfcommclient.cpp index fff049d8..0aa83016 100644 --- a/tests/auto/qrfcommserver/rfcommclient/rfcommclient.cpp +++ b/tests/auto/qrfcommserver/rfcommclient/rfcommclient.cpp @@ -106,7 +106,7 @@ void RfCommClient::startClient(const QBluetoothServiceInfo &remoteService) // Connect to service if (state == listening) state = pendingConnections; - socket = new QBluetoothSocket(QBluetoothSocket::RfcommSocket); + socket = new QBluetoothSocket(QBluetoothServiceInfo::RfcommProtocol); qDebug() << "Create socket"; socket->connectToService(remoteService); qDebug() << "ConnecttoService done"; |