summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-12-15 04:50:36 (GMT)
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-12-15 04:50:36 (GMT)
commit6c1050611c91a88cdeaf62efe581c477873db2dc (patch)
treea74509eb83d5eaaab6194410134084e516e9b550 /examples
parent466b1db5f5466469bf3a62bb1d10da909aa07bac (diff)
parentc9faf2defa9fa3209e44e8a5c1ae2da8e630d379 (diff)
downloadQt-6c1050611c91a88cdeaf62efe581c477873db2dc.zip
Qt-6c1050611c91a88cdeaf62efe581c477873db2dc.tar.gz
Qt-6c1050611c91a88cdeaf62efe581c477873db2dc.tar.bz2
Merge commit 'c9faf2defa9fa3209e44e8a5c1ae2da8e630d379' into maemo/199755
Diffstat (limited to 'examples')
-rw-r--r--examples/network/bearermonitor/bearermonitor.cpp2
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);
}