diff options
author | Titta Heikkala <titta.heikkala@qt.io> | 2017-02-15 10:05:21 +0200 |
---|---|---|
committer | Oliver Wolff <oliver.wolff@qt.io> | 2017-02-15 08:20:53 +0000 |
commit | be61c9004e66bb58ead920cb152cfab80b31f01f (patch) | |
tree | 938d464f15f2a6426b08f97ad73adb769815fd80 /tradeshow/iot-sensortag/bluetoothdevice.h | |
parent | 4b5beeedda5e129018c167dd0a5cd1f17fc5c246 (diff) |
iot-sensortag: Fix compile error
isDeviceReady() function can't be const because it changes the state.
Change-Id: I05fe26aad80b7aaede42bf26c7aba6b9c9c299f3
Reviewed-by: Oliver Wolff <oliver.wolff@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 94a12c3..0c9ac1d 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() const; + void isDeviceReady(); QBluetoothDeviceDiscoveryAgent *discoveryAgent; QString m_previousAddress; |