diff options
author | Tim Blechmann <tim@klingt.org> | 2024-02-01 23:26:24 +0800 |
---|---|---|
committer | Tim Blechmann <tim@klingt.org> | 2024-02-02 00:08:29 +0000 |
commit | 7fd54b4961f0530c04c250ef5b8128cfe6fc6abf (patch) | |
tree | 7d1a8f212371b21cb194cd7f1e682ac55abbd0ca | |
parent | afc4e4323452cf697a9064249068265ffbf36575 (diff) |
examples: silence clang's wignored-qualifier
Change-Id: Ibdefee544ced86db73bbf821ea8c62c0d8c5c043
Pick-to: 6.7
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
-rw-r--r-- | examples/mqtt/quicksubscription/qmlmqttclient.cpp | 2 | ||||
-rw-r--r-- | examples/mqtt/quicksubscription/qmlmqttclient.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/mqtt/quicksubscription/qmlmqttclient.cpp b/examples/mqtt/quicksubscription/qmlmqttclient.cpp index 4b50509..04e2a76 100644 --- a/examples/mqtt/quicksubscription/qmlmqttclient.cpp +++ b/examples/mqtt/quicksubscription/qmlmqttclient.cpp @@ -70,7 +70,7 @@ void QmlMqttClient::setPort(int newPort) m_client.setPort(static_cast<quint16>(newPort)); } -const QMqttClient::ClientState QmlMqttClient::state() const +QMqttClient::ClientState QmlMqttClient::state() const { return m_client.state(); } diff --git a/examples/mqtt/quicksubscription/qmlmqttclient.h b/examples/mqtt/quicksubscription/qmlmqttclient.h index 5d48ae5..a7d8851 100644 --- a/examples/mqtt/quicksubscription/qmlmqttclient.h +++ b/examples/mqtt/quicksubscription/qmlmqttclient.h @@ -57,7 +57,7 @@ public: int port() const; void setPort(int newPort); - const QMqttClient::ClientState state() const; + QMqttClient::ClientState state() const; void setState(const QMqttClient::ClientState &newState); signals: |