Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
4.7.1
-
None
-
5b1484a920fe27beb53401272da1b7b87d006035
Description
Please find the attached testapp to reproduce the problem. As when I am
connecting and disconnecting n/w from connectivity UI only signal is emitting
once and later on there is no signal emission. We are dependent on this signal
to abort operation and resume service once it will connect again.
Additional information:
The bug seems to originate from
src/plugins/bearer/icd/qnetworksession_impl.cpp:128
[QNetworkSessionPrivateImpl::iapStateChanged(...)]
if ((publicConfig.type() == QNetworkConfiguration::UserChoice) && opened) {
updateIdentifier(iapid);
}
where 'opened=false' causes updateIdentifier(iapid) not to be called. This
means that when there is no connection(opened=false) Qt will not update the iap
and no signals will be sent due to the next if-statement on line 132.