Add iOS comment for better code understanding
This commit is contained in:
parent
75c7421a10
commit
2b994b608d
@ -59,6 +59,10 @@ BluetoothDiscovery::BluetoothDiscovery(QObject *parent) :
|
||||
|
||||
m_discoveryAgent = new QBluetoothDeviceDiscoveryAgent(m_localDevice->address(), this);
|
||||
#else
|
||||
// Note: on iOS there is no QBluetoothLocalDevice available, therefore we have ti assume there is one and
|
||||
// start the discovery agent with the default constructor.
|
||||
// https://bugreports.qt.io/browse/QTBUG-65547
|
||||
|
||||
setBluetoothAvailable(true);
|
||||
m_discoveryAgent = new QBluetoothDeviceDiscoveryAgent(this);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user