mirror of
https://github.com/qt/qtmqtt.git
synced 2026-10-25 16:16:26 +00:00
Remove redundant call from QuickPublication Example
Remove the call m_client.state(), it seems to be unnecessary (just like
in the Quicksubscription example).
Task-number: QTBUG-110893
Change-Id: I460f12f3d4b33388013cb8250149239a6b0f1c94
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
(cherry picked from commit 1f9e2bf463)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
a7def0f1e7
commit
c417afec27
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user