Hi,

just noticed a difference between Android and iOS

Before doing a request I'm checking the Network

if(mNetworkAccessManager->networkAccessible()!=QNetworkAccessManager::Accessible){

on Android all works well.

Switching off wifi and mobile data --> Not Accessible

Switching on again --> Accessible

on iOS it's different:

Switching off wifi and mobile data --> Not Accessible

Switching on again --> state not changed back to accessible

--

QNetworkAccessManager is initialized at first use and then re-used.
If I always create  a new QNetworkAccessManager before executing the
request, all is detected well also on iOS

Can I 'reset' the accessibility or should I always create a new
QNetworkAccessManager and report a bugreport ?

thx

ekke
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to