summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-06-30 04:13:19 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-06-30 04:13:19 (GMT)
commiteebed4698003518e0185f8012df6c4bf5364307b (patch)
tree726b175a56b1d7cdb135340635995c75d89ce375 /src
parent587b0fed9bd17a378eb0212c95074df965549ef2 (diff)
parentdad49a41cc60e6297bd6d7099b6d06e0240c5f16 (diff)
downloadQt-eebed4698003518e0185f8012df6c4bf5364307b.zip
Qt-eebed4698003518e0185f8012df6c4bf5364307b.tar.gz
Qt-eebed4698003518e0185f8012df6c4bf5364307b.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: Fix build failure on Symbian^3.
Diffstat (limited to 'src')
-rw-r--r--src/plugins/bearer/symbian/qnetworksession_impl.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/bearer/symbian/qnetworksession_impl.cpp b/src/plugins/bearer/symbian/qnetworksession_impl.cpp
index b6e11df..f89ed0a 100644
--- a/src/plugins/bearer/symbian/qnetworksession_impl.cpp
+++ b/src/plugins/bearer/symbian/qnetworksession_impl.cpp
@@ -1303,7 +1303,8 @@ bool QNetworkSessionPrivateImpl::newState(QNetworkSession::State newState, TUint
#ifdef OCC_FUNCTIONALITY_AVAILABLE
// If the retVal is not true here, it means that the status update may apply to an IAP outside of
// SNAP (session is based on SNAP but follows IAP outside of it), which may occur on Symbian^3 EasyWlan.
- if (retVal == false && activeConfig.d.data() && activeConfig.d.data()->numericId == accessPointId) {
+ if (retVal == false && activeConfig.isValid() &&
+ toSymbianConfig(privateConfiguration(activeConfig))->numericIdentifier() == accessPointId) {
#ifdef QT_BEARERMGMT_SYMBIAN_DEBUG
qDebug() << "QNS this : " << QString::number((uint)this) << " - " << "===> EMIT State changed G to: " << state;
#endif
@@ -1311,7 +1312,7 @@ bool QNetworkSessionPrivateImpl::newState(QNetworkSession::State newState, TUint
activeConfig = QNetworkConfiguration();
}
state = newState;
- emit q->stateChanged(state);
+ emit stateChanged(state);
retVal = true;
}
#endif