summaryrefslogtreecommitdiffstats
path: root/src/network/bearer
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/bearer')
-rw-r--r--src/network/bearer/qnetworkconfigmanager_p.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/bearer/qnetworkconfigmanager_p.cpp b/src/network/bearer/qnetworkconfigmanager_p.cpp
index 9ebb0b3..a624376 100644
--- a/src/network/bearer/qnetworkconfigmanager_p.cpp
+++ b/src/network/bearer/qnetworkconfigmanager_p.cpp
@@ -200,7 +200,8 @@ void QNetworkConfigurationManagerPrivate::updateConfigurations()
}
}
- sessionEngines.append(generic);
+ if (generic)
+ sessionEngines.append(generic);
}
QBearerEngine *engine = qobject_cast<QBearerEngine *>(sender());