This commit is contained in:
Simon Stürz 2018-07-17 17:04:17 +02:00
parent 8038841322
commit 99ce137a1a
2 changed files with 1 additions and 4 deletions

View File

@ -81,9 +81,6 @@ void BluetoothDevice::disconnectDevice()
void BluetoothDevice::setConnected(const bool &connected)
{
if (m_connected == connected)
return;
m_connected = connected;
emit connectedChanged();
}

View File

@ -59,7 +59,7 @@ 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
// 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.
// https://bugreports.qt.io/browse/QTBUG-65547