summaryrefslogtreecommitdiff
path: root/src/imports
diff options
context:
space:
mode:
authorLars Schmertmann <Lars.Schmertmann@governikus.de>2020-06-17 19:54:17 +0200
committerLars Schmertmann <lars.schmertmann@governikus.de>2020-06-23 18:31:40 +0000
commit296c695c517d90de1c7f76c3b035807619c9bc9a (patch)
tree50aa4bdf8138fc8b90fbd43ba8f39d14834b3a45 /src/imports
parentaeeaa00fa083ac339d0770d633d22f203c504253 (diff)
downloadqtwebsockets-296c695c517d90de1c7f76c3b035807619c9bc9a.tar.gz
Add ; to Q_UNUSED
This is required to remove the ; from the macro with Qt 6. Task-number: QTBUG-82978 Change-Id: I36460d504aaac08bdbb64b6c71b5ab10e062e00d Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/qmlwebsockets/qqmlwebsocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/qmlwebsockets/qqmlwebsocket.cpp b/src/imports/qmlwebsockets/qqmlwebsocket.cpp
index 7f862e0..826ccc6 100644
--- a/src/imports/qmlwebsockets/qqmlwebsocket.cpp
+++ b/src/imports/qmlwebsockets/qqmlwebsocket.cpp
@@ -232,7 +232,7 @@ void QQmlWebSocket::setSocket(QWebSocket *socket)
void QQmlWebSocket::onError(QAbstractSocket::SocketError error)
{
- Q_UNUSED(error)
+ Q_UNUSED(error);
setErrorString(m_webSocket->errorString());
setStatus(Error);
}