fixes for mac

This commit is contained in:
fenoglio 2020-10-08 22:13:04 +02:00
parent 49d6653504
commit cf1e6d2881

View file

@ -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