Fix typo
This commit is contained in:
parent
8038841322
commit
99ce137a1a
@ -81,9 +81,6 @@ void BluetoothDevice::disconnectDevice()
|
|||||||
|
|
||||||
void BluetoothDevice::setConnected(const bool &connected)
|
void BluetoothDevice::setConnected(const bool &connected)
|
||||||
{
|
{
|
||||||
if (m_connected == connected)
|
|
||||||
return;
|
|
||||||
|
|
||||||
m_connected = connected;
|
m_connected = connected;
|
||||||
emit connectedChanged();
|
emit connectedChanged();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -59,7 +59,7 @@ BluetoothDiscovery::BluetoothDiscovery(QObject *parent) :
|
|||||||
|
|
||||||
m_discoveryAgent = new QBluetoothDeviceDiscoveryAgent(m_localDevice->address(), this);
|
m_discoveryAgent = new QBluetoothDeviceDiscoveryAgent(m_localDevice->address(), this);
|
||||||
#else
|
#else
|
||||||
// Note: on iOS there is no QBluetoothLocalDevice available, therefore we have ti assume there is one and
|
// Note: on iOS there is no QBluetoothLocalDevice available, therefore we have to assume there is one and
|
||||||
// start the discovery agent with the default constructor.
|
// start the discovery agent with the default constructor.
|
||||||
// https://bugreports.qt.io/browse/QTBUG-65547
|
// https://bugreports.qt.io/browse/QTBUG-65547
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user