QNetworkInformation: remove redundant friend declaration

Q_DECLARE_PRIVATE already marks the Private as a friend of the Public
class. No need to do it manually.

Fixes GCC's -Wredundant-decls.

Amends 0875626e22ad4e709ddf505e701a8d699559f5b4.

Task-number: QTBUG-115583
Change-Id: I26f8a42e375c1377c03fe60ccccadc5d0c3b02c5
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
(cherry picked from commit f24a03a22a863eac18a3981973f6a19aef3116f6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 2117fc2b167807979367b5e498c02d953a5ea8d5)
This commit is contained in:
Marc Mutz 2024-04-30 10:15:24 +02:00 committed by Qt Cherry-pick Bot
parent 1ba9a1fec8
commit 8a5a0e1b91

View File

@ -82,7 +82,6 @@ Q_SIGNALS:
private:
friend struct QNetworkInformationDeleter;
friend class QNetworkInformationPrivate;
QNetworkInformation(QNetworkInformationBackend *backend);
~QNetworkInformation() override;