diff options
Diffstat (limited to 'src/bluetooth/qbluetoothserver_p.cpp')
-rw-r--r-- | src/bluetooth/qbluetoothserver_p.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bluetooth/qbluetoothserver_p.cpp b/src/bluetooth/qbluetoothserver_p.cpp index 4f28c9b1..6657e151 100644 --- a/src/bluetooth/qbluetoothserver_p.cpp +++ b/src/bluetooth/qbluetoothserver_p.cpp @@ -46,8 +46,10 @@ QT_BEGIN_NAMESPACE -QBluetoothServerPrivate::QBluetoothServerPrivate(QBluetoothServiceInfo::Protocol sType) - : maxPendingConnections(1), serverType(sType), m_lastError(QBluetoothServer::NoError) +QBluetoothServerPrivate::QBluetoothServerPrivate(QBluetoothServiceInfo::Protocol sType, + QBluetoothServer *parent) + : maxPendingConnections(1), serverType(sType), m_lastError(QBluetoothServer::NoError), + q_ptr(parent) { #ifndef QT_IOS_BLUETOOTH printDummyWarning(); |