summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaurice Kalinowski <maurice.kalinowski@qt.io>2017-12-15 10:38:07 +0100
committerMaurice Kalinowski <maurice.kalinowski@qt.io>2017-12-18 07:46:08 +0000
commitaefe74b98d1079544cf5cd1334a6e849b03417c3 (patch)
tree626c12e6bf3587b362b65cc0d3eec2e9840199df
parentc40611e0ec7a161d9bbdf3845684c27b031aa77a (diff)
iot-sensortag: Fix build against 5.10.0
Before the final release the Qt Mqtt API has been updated. Change-Id: I6f9e3e9cc5db16fe87d3493f12703194e9f14654 Reviewed-by: Lorenz Haas <lorenz.haas@histomatics.de> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
-rw-r--r--tradeshow/iot-sensortag/mqttdataprovider.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tradeshow/iot-sensortag/mqttdataprovider.cpp b/tradeshow/iot-sensortag/mqttdataprovider.cpp
index 8985f02..16bc096 100644
--- a/tradeshow/iot-sensortag/mqttdataprovider.cpp
+++ b/tradeshow/iot-sensortag/mqttdataprovider.cpp
@@ -108,7 +108,7 @@ void MqttDataProvider::reset()
void MqttDataProvider::messageReceived(const QMqttMessage &msg)
{
- parseMessage(msg.payload(), msg.topic());
+ parseMessage(msg.payload(), msg.topic().name());
if (!m_pollTimer->isActive())
m_pollTimer->start();
}