diff options
author | Oliver Wolff <oliver.wolff@qt.io> | 2017-02-15 09:23:38 +0100 |
---|---|---|
committer | Kari Hautamäki <kari.hautamaki@qt.io> | 2017-02-15 08:28:21 +0000 |
commit | 973ba6d609c25011b937cb045aab891e13708ba6 (patch) | |
tree | ffd04fbc81815b27063e9b779ed6cef6e7f83415 /tradeshow/iot-sensortag/bluetoothdevice.h | |
parent | 9c8d67cb260fae6504703afe3f24551f8733f31c (diff) |
iot-sensortag: "Fix" isDeviceReady
The name suggests a const function so we either have to come up
with a new name that describes the current functionality or
move the state change out of the function. Decided for the latter.
Change-Id: Ifab2689b8a3ec054222f40708e1eb2d1576a6a08
Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
Diffstat (limited to 'tradeshow/iot-sensortag/bluetoothdevice.h')
-rw-r--r-- | tradeshow/iot-sensortag/bluetoothdevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tradeshow/iot-sensortag/bluetoothdevice.h b/tradeshow/iot-sensortag/bluetoothdevice.h index 0c9ac1d..e6137e8 100644 --- a/tradeshow/iot-sensortag/bluetoothdevice.h +++ b/tradeshow/iot-sensortag/bluetoothdevice.h @@ -169,7 +169,7 @@ private: void lightIntensityReceived(const QByteArray &value); void motionReceived(const QByteArray &value); double convertIrTemperatureAPIReadingToCelsius(quint16 rawReading); - void isDeviceReady(); + bool isDeviceReady() const; QBluetoothDeviceDiscoveryAgent *discoveryAgent; QString m_previousAddress; |