From 28d3d82a0d2f0fe8e4784a17a167c2f9f2e2420e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Nordheim?= Date: Thu, 12 Mar 2020 10:47:21 +0100 Subject: QtNetwork deprecations: suppress internal warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There're some uses we can't get rid of until the deprecated functions are deleted, so suppress them for now. Change-Id: I85b737eefc71f8f3ac939dfa961383220a8244af Reviewed-by: Tor Arne Vestbø --- src/network/socket/qabstractsocket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/network/socket/qabstractsocket.h') diff --git a/src/network/socket/qabstractsocket.h b/src/network/socket/qabstractsocket.h index 1482dcaab2..46d25d5677 100644 --- a/src/network/socket/qabstractsocket.h +++ b/src/network/socket/qabstractsocket.h @@ -207,7 +207,7 @@ Q_SIGNALS: void disconnected(); void stateChanged(QAbstractSocket::SocketState); #if QT_DEPRECATED_SINCE(5,15) - QT_DEPRECATED_X("Use QAbstractSocket::errorOccurred(QAbstractSocket::SocketError) instead") + QT_DEPRECATED_NETWORK_API_5_15_X("Use QAbstractSocket::errorOccurred(QAbstractSocket::SocketError) instead") void error(QAbstractSocket::SocketError); #endif void errorOccurred(QAbstractSocket::SocketError); -- cgit v1.2.3