diff options
Diffstat (limited to 'bluetoothgpsserver.cpp')
-rw-r--r-- | bluetoothgpsserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bluetoothgpsserver.cpp b/bluetoothgpsserver.cpp index efbddf0..fb46e91 100644 --- a/bluetoothgpsserver.cpp +++ b/bluetoothgpsserver.cpp @@ -20,7 +20,7 @@ void BluetoothGpsServer::start() return; } - m_server = new QRfcommServer(this); + m_server = new QBluetoothServer(QBluetoothServiceInfo::RfcommProtocol, this); connect(m_server, SIGNAL(newConnection()), this, SLOT(acceptConnection())); if (!m_server->listen(QBluetoothAddress(), m_port)) { qWarning() << "Failed to start Bluetooth listener socket"; |