summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-11-05 01:08:31 (GMT)
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-11-05 01:08:31 (GMT)
commit9615608afa7e0a62d1a444b699f40aeeaeaf41de (patch)
treeb6f9c82db84a0d0d35194965ef81e6b7753cc56e /src
parent69a1fce88bb5f733895cc21758fd398bd650b7a6 (diff)
downloadQt-9615608afa7e0a62d1a444b699f40aeeaeaf41de.zip
Qt-9615608afa7e0a62d1a444b699f40aeeaeaf41de.tar.gz
Qt-9615608afa7e0a62d1a444b699f40aeeaeaf41de.tar.bz2
Fix opening a network session multiple times in succession.
Don't try to open the network session if there is already an in progress open request.
Diffstat (limited to 'src')
-rw-r--r--src/plugins/bearer/icd/qnetworksession_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/bearer/icd/qnetworksession_impl.cpp b/src/plugins/bearer/icd/qnetworksession_impl.cpp
index 37434e3..8d0f587 100644
--- a/src/plugins/bearer/icd/qnetworksession_impl.cpp
+++ b/src/plugins/bearer/icd/qnetworksession_impl.cpp
@@ -679,7 +679,7 @@ void QNetworkSessionPrivateImpl::open()
if (serviceConfig.isValid()) {
lastError = QNetworkSession::OperationNotSupportedError;
emit QNetworkSessionPrivate::error(lastError);
- } else if (!isOpen) {
+ } else if (!opened) {
if (publicConfig.type() == QNetworkConfiguration::UserChoice) {
/* Caller is trying to connect to default IAP.
* At this time we will not know the IAP details so we just