fixes for mac
This commit is contained in:
parent
49d6653504
commit
cf1e6d2881
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ QString QBluetoothLeUartDevice::getAddress()
|
||||||
{
|
{
|
||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
// workaround for Core Bluetooth:
|
// workaround for Core Bluetooth:
|
||||||
return m_device->deviceUuid().toString();
|
return bluetoothDeviceInfo.deviceUuid().toString();
|
||||||
#else
|
#else
|
||||||
return bluetoothDeviceInfo.address().toString();
|
return bluetoothDeviceInfo.address().toString();
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue