diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-12-15 04:16:36 (GMT) |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-12-15 04:31:40 (GMT) |
commit | c031e5808ee406277a5401c69801e5c6e2ebfaea (patch) | |
tree | d4785df3040bf31ebaf2f111f9afdc76941310e5 | |
parent | 19b77ecfcdae8a68cfec5d89cf510b9cc837bed2 (diff) | |
download | Qt-c031e5808ee406277a5401c69801e5c6e2ebfaea.zip Qt-c031e5808ee406277a5401c69801e5c6e2ebfaea.tar.gz Qt-c031e5808ee406277a5401c69801e5c6e2ebfaea.tar.bz2 |
Fix invalid configurations being added to bearermonitor list.
-rw-r--r-- | examples/network/bearermonitor/bearermonitor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/bearermonitor/bearermonitor.cpp b/examples/network/bearermonitor/bearermonitor.cpp index 75ffb01..bfa3d1f 100644 --- a/examples/network/bearermonitor/bearermonitor.cpp +++ b/examples/network/bearermonitor/bearermonitor.cpp @@ -226,7 +226,7 @@ void BearerMonitor::updateConfigurations() if (defaultConfiguration.type() == QNetworkConfiguration::ServiceNetwork) updateSnapConfiguration(defaultItem, defaultConfiguration); - } else { + } else if (defaultConfiguration.isValid()) { configurationAdded(defaultConfiguration); } |