diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2021-11-03 12:19:14 +0100 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2021-11-04 08:05:32 +0000 |
commit | 77c3480eaa9e5f1811b8eed6b745deae85300e00 (patch) | |
tree | 600a96e4328d2447165d45b6e73736203c94c57f | |
parent | acb2df53852fed14750f5df9f920670793ff6194 (diff) |
QNI: Clarify Feature enum entries' documentation
Saying properties are not available depending on feature support
is misleading. It is available even if not supported, it's just not useful.
Change-Id: I6325c50867bb873258c70280adb8d75125db2096
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit 2d39509d4a47e4f39180147ba5018923000f654e)
-rw-r--r-- | src/network/kernel/qnetworkinformation.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/network/kernel/qnetworkinformation.cpp b/src/network/kernel/qnetworkinformation.cpp index a410cf2214..222149ea5d 100644 --- a/src/network/kernel/qnetworkinformation.cpp +++ b/src/network/kernel/qnetworkinformation.cpp @@ -442,13 +442,15 @@ QNetworkInformationBackendFactory::~QNetworkInformationBackendFactory() This can be used in QNetworkInformation::load(). \value Reachability - If the plugin supports this feature then - the \c reachability property will be available. + If the plugin supports this feature then the \c reachability property + will provide useful results. Otherwise it will always return + \c{Reachability::Unknown}. See also QNetworkInformation::Reachability. \value CaptivePortal - If the plugin supports this feature then - the \c isBehindCaptivePortal property will be available. + If the plugin supports this feature then the \c isBehindCaptivePortal + property will provide useful results. Otherwise it will always return + \c{false}. */ /*! |