From a46d0b480ba04d77cc01a74c9f2f3ac2203a1248 Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Wed, 28 Jul 2021 10:50:03 +0200 Subject: [PATCH] Doc: Fix warnings about undocumented enum and parameters - enum 'CaptivePortal' in QNetworkInformation::Feature - parameter 'debug' in QNetworkAddressEntry::operator<<() - parameter 'debug' in QNetworkInterface::operator<<() Pick-to: 6.2 Change-Id: I518bc06edee9fa4955dc6295786ab1a6be989727 Reviewed-by: Paul Wicking --- src/network/kernel/qnetworkinformation.cpp | 4 ++++ src/network/kernel/qnetworkinterface.cpp | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/network/kernel/qnetworkinformation.cpp b/src/network/kernel/qnetworkinformation.cpp index 0dcbfde22b8..82dee811d28 100644 --- a/src/network/kernel/qnetworkinformation.cpp +++ b/src/network/kernel/qnetworkinformation.cpp @@ -445,6 +445,10 @@ QNetworkInformationBackendFactory::~QNetworkInformationBackendFactory() If the plugin supports this feature then the \c reachability property will be available. See also QNetworkInformation::Reachability. + + \value CaptivePortal + If the plugin supports this feature then + the \c isBehindCaptivePortal property will be available. */ /*! diff --git a/src/network/kernel/qnetworkinterface.cpp b/src/network/kernel/qnetworkinterface.cpp index ddde994a6ef..7da5ddff4d7 100644 --- a/src/network/kernel/qnetworkinterface.cpp +++ b/src/network/kernel/qnetworkinterface.cpp @@ -935,7 +935,7 @@ static inline QDebug flagsDebug(QDebug debug, QNetworkInterface::InterfaceFlags \since 6.2 Writes the QNetworkAddressEntry \a entry to the stream and - returns a reference to the stream. + returns a reference to the \a debug stream. \relates QNetworkAddressEntry */ @@ -953,7 +953,7 @@ QDebug operator<<(QDebug debug, const QNetworkAddressEntry &entry) /*! Writes the QNetworkInterface \a networkInterface to the stream and - returns a reference to the stream. + returns a reference to the \a debug stream. \relates QNetworkInterface */