Add iOS comment for better code understanding

This commit is contained in:
Simon Stürz 2018-07-17 13:52:13 +02:00
parent 75c7421a10
commit 2b994b608d

View File

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