diff --git a/qbluetoothleuartdevice.cpp b/qbluetoothleuartdevice.cpp index ca58f7a..d3f531d 100644 --- a/qbluetoothleuartdevice.cpp +++ b/qbluetoothleuartdevice.cpp @@ -19,7 +19,7 @@ QString QBluetoothLeUartDevice::getAddress() { #ifdef Q_OS_MAC // workaround for Core Bluetooth: - return m_device->deviceUuid().toString(); + return bluetoothDeviceInfo.deviceUuid().toString(); #else return bluetoothDeviceInfo.address().toString(); #endif