diff options
author | Marc Mutz <marc.mutz.qnx@kdab.com> | 2012-03-09 16:10:20 +0100 |
---|---|---|
committer | Thomas McGuire <thomas.mcguire@kdab.com> | 2012-11-23 13:17:20 +0100 |
commit | 99248d1d0ab57dcb118259a69950d235ea51bc25 (patch) | |
tree | 912fe9d2e55aaed7da4c19225bc27056ae25ed56 | |
parent | 508cdbd6aa9fa41b43dadba662e8227aaa4fd30f (diff) |
QBluetoothLocalDevice: fall back to a dummy Private class
If neither bluez not Symbian stacks were configured,
the code would not define a QBluetoothLocalDevicePrivate
which raises scary compiler warnings in the .cpp about
deleting an object of incomplete type.
Change-Id: Ifc530e8e5153d5447e90d78a003549a6e14e4d90
Reviewed-by: Andrew Stanley-Jones <asj@cban.com>
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
-rw-r--r-- | src/connectivity/bluetooth/qbluetoothlocaldevice_p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/connectivity/bluetooth/qbluetoothlocaldevice_p.h b/src/connectivity/bluetooth/qbluetoothlocaldevice_p.h index 5a094078de..aa2caa786d 100644 --- a/src/connectivity/bluetooth/qbluetoothlocaldevice_p.h +++ b/src/connectivity/bluetooth/qbluetoothlocaldevice_p.h @@ -106,9 +106,7 @@ private: QBluetoothLocalDevice *q_ptr; }; -#endif - -#ifdef QTM_SYMBIAN_BLUETOOTH +#elif defined(QTM_SYMBIAN_BLUETOOTH) class QBluetoothLocalDevicePrivate : public MBTEngSettingsObserver { @@ -146,6 +144,8 @@ protected: QBluetoothLocalDevice *q_ptr; }; +#else +class QBluetoothLocalDevicePrivate {}; // dummy #endif QTM_END_NAMESPACE |