diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-02-08 07:29:45 (GMT) |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-02-08 07:49:55 (GMT) |
commit | 2963cb346814d47fd59e04bfd9bcd5fde88d5bd8 (patch) | |
tree | d8c913e6947538258657f50519cd0850cb673ddb /src/network/bearer | |
parent | 76160422d532b2ccf63a5c477f74a6645428c0f7 (diff) | |
download | Qt-2963cb346814d47fd59e04bfd9bcd5fde88d5bd8.zip Qt-2963cb346814d47fd59e04bfd9bcd5fde88d5bd8.tar.gz Qt-2963cb346814d47fd59e04bfd9bcd5fde88d5bd8.tar.bz2 |
Only add generic engine when it is available.
Diffstat (limited to 'src/network/bearer')
-rw-r--r-- | src/network/bearer/qnetworkconfigmanager_p.cpp | 3 |
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()); |