diff options
Diffstat (limited to 'src/imports/bluetooth/qdeclarativebluetoothservice.cpp')
-rw-r--r-- | src/imports/bluetooth/qdeclarativebluetoothservice.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/imports/bluetooth/qdeclarativebluetoothservice.cpp b/src/imports/bluetooth/qdeclarativebluetoothservice.cpp index efbf217b..48c9da9a 100644 --- a/src/imports/bluetooth/qdeclarativebluetoothservice.cpp +++ b/src/imports/bluetooth/qdeclarativebluetoothservice.cpp @@ -297,7 +297,8 @@ void QDeclarativeBluetoothService::setRegistered(bool registered) } d->m_server = server; - connect(d->m_server, SIGNAL(newConnection()), this, SLOT(new_connection())); + connect(d->m_server, &QBluetoothServer::newConnection, + this, &QDeclarativeBluetoothService::new_connection); d->m_service->setAttribute(QBluetoothServiceInfo::ServiceRecordHandle, (uint)0x00010010); |