summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMate Barany <mate.barany@qt.io>2023-06-23 16:06:15 +0200
committerMate Barany <mate.barany@qt.io>2023-06-26 14:42:43 +0200
commit1f9e2bf463597e65c58daae0f705fc332f370e6f (patch)
tree0e261bfba5d4d47eed6982de403d0e0078f280b3 /examples
parent87223c466a769ba578e458190e2ff1a34359a954 (diff)
Remove redundant call from QuickPublication Example
Remove the call m_client.state(), it seems to be unnecessary (just like in the Quicksubscription example). Pick-to: 6.6 6.5 Task-number: QTBUG-110893 Change-Id: I460f12f3d4b33388013cb8250149239a6b0f1c94 Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/mqtt/quickpublication/qmlmqttclient.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/mqtt/quickpublication/qmlmqttclient.cpp b/examples/mqtt/quickpublication/qmlmqttclient.cpp
index b4cb3cd..35064b5 100644
--- a/examples/mqtt/quickpublication/qmlmqttclient.cpp
+++ b/examples/mqtt/quickpublication/qmlmqttclient.cpp
@@ -45,8 +45,6 @@ void QmlMqttClient::setPort(int newPort)
return;
}
m_client.setPort(static_cast<quint16>(newPort));
-
- m_client.state();
}
const QMqttClient::ClientState QmlMqttClient::state() const