diff options
Diffstat (limited to 'src/bluetooth/qbluetoothsocket.cpp')
-rw-r--r-- | src/bluetooth/qbluetoothsocket.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bluetooth/qbluetoothsocket.cpp b/src/bluetooth/qbluetoothsocket.cpp index feb52684..9516a0c4 100644 --- a/src/bluetooth/qbluetoothsocket.cpp +++ b/src/bluetooth/qbluetoothsocket.cpp @@ -267,7 +267,7 @@ QBluetoothSocket::QBluetoothSocket(QBluetoothServiceInfo::Protocol socketType, Q #elif defined(QT_WINRT_BLUETOOTH) d_ptr = new QBluetoothSocketPrivateWinRT(); #else - d_ptr = new QBluetoothSocketPrivate(); + d_ptr = new QBluetoothSocketPrivateDummy(); #endif d_ptr->q_ptr = this; @@ -290,7 +290,7 @@ QBluetoothSocket::QBluetoothSocket(QObject *parent) #elif defined(QT_WINRT_BLUETOOTH) d_ptr = new QBluetoothSocketPrivateWinRT(); #else - d_ptr = new QBluetoothSocketPrivate(); + d_ptr = new QBluetoothSocketPrivateDummy(); #endif d_ptr->q_ptr = this; setOpenMode(QIODevice::NotOpen); |