summaryrefslogtreecommitdiffstats
path: root/src/network/bearer
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/bearer')
-rw-r--r--src/network/bearer/qnetworkconfigmanager.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/network/bearer/qnetworkconfigmanager.cpp b/src/network/bearer/qnetworkconfigmanager.cpp
index 8ca2537..2e37e01 100644
--- a/src/network/bearer/qnetworkconfigmanager.cpp
+++ b/src/network/bearer/qnetworkconfigmanager.cpp
@@ -296,14 +296,7 @@ QNetworkConfiguration QNetworkConfigurationManager::configurationFromIdentifier(
This is equivalent to the following code snippet:
- \code
- QNetworkConfigurationManager mgr;
- QList<QNetworkConfiguration> activeConfigs = mgr.allConfigurations(QNetworkConfiguration::Active)
- if (activeConfigs.count() > 0)
- Q_ASSERT(mgr.isOnline())
- else
- Q_ASSERT(!mgr.isOnline())
- \endcode
+ \snippet doc/src/snippets/code/src_network_bearer_qnetworkconfigmanager.cpp 0
\sa onlineStateChanged()
*/