From 99ce137a1a3e4b588d6e89f9dbd90415423fc278 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Tue, 17 Jul 2018 17:04:17 +0200 Subject: [PATCH] Fix typo --- libnymea-app-core/wifisetup/bluetoothdevice.cpp | 3 --- libnymea-app-core/wifisetup/bluetoothdiscovery.cpp | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/libnymea-app-core/wifisetup/bluetoothdevice.cpp b/libnymea-app-core/wifisetup/bluetoothdevice.cpp index 0007e4c1..a2ba4039 100644 --- a/libnymea-app-core/wifisetup/bluetoothdevice.cpp +++ b/libnymea-app-core/wifisetup/bluetoothdevice.cpp @@ -81,9 +81,6 @@ void BluetoothDevice::disconnectDevice() void BluetoothDevice::setConnected(const bool &connected) { - if (m_connected == connected) - return; - m_connected = connected; emit connectedChanged(); } diff --git a/libnymea-app-core/wifisetup/bluetoothdiscovery.cpp b/libnymea-app-core/wifisetup/bluetoothdiscovery.cpp index aacbeab7..a392e98f 100644 --- a/libnymea-app-core/wifisetup/bluetoothdiscovery.cpp +++ b/libnymea-app-core/wifisetup/bluetoothdiscovery.cpp @@ -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