diff options
author | Sami Nurmenniemi <sami.nurmenniemi@qt.io> | 2017-11-22 17:01:06 +0200 |
---|---|---|
committer | Sami Nurmenniemi <sami.nurmenniemi@qt.io> | 2017-11-24 11:53:21 +0000 |
commit | 724309463d63480ca755d5f309825a9dd078d012 (patch) | |
tree | ef26954371c0b56141ca59894f67dd14446f933b /src/bluetoothsettings/bluetoothdevice.cpp | |
parent | 5f7d1bacb8701e24ea185c63e05e5f8883cbef2c (diff) |
Fix compilation with namespaces
Task-number: QTBUG-64693
Change-Id: I35487b54271f031077c0f96a90eb47f0683caa77
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
Diffstat (limited to 'src/bluetoothsettings/bluetoothdevice.cpp')
-rw-r--r-- | src/bluetoothsettings/bluetoothdevice.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bluetoothsettings/bluetoothdevice.cpp b/src/bluetoothsettings/bluetoothdevice.cpp index 0facf27..442a31c 100644 --- a/src/bluetoothsettings/bluetoothdevice.cpp +++ b/src/bluetoothsettings/bluetoothdevice.cpp @@ -30,6 +30,8 @@ #include "bluetoothdevice.h" #include "bluetoothdevice_p.h" +QT_BEGIN_NAMESPACE + BluetoothDevice::BluetoothDevice(QObject *parent) : QObject(parent) ,d_ptr(new BluetoothDevicePrivate(this)) { @@ -51,7 +53,7 @@ void BluetoothDevice::setPowered(const bool& aPowered) DiscoveryModel* BluetoothDevice::deviceModel() const { Q_D(const BluetoothDevice); - return d->m_deviceModel; + return d->deviceModel(); } bool BluetoothDevice::scanning() const @@ -89,3 +91,5 @@ bool BluetoothDevice::available() const Q_D(const BluetoothDevice); return d->available(); } + +QT_END_NAMESPACE |