[SailfishDevel] QNetworkAccessManager: how to wait for Internet?

Sylvain B. sthocs at hotmail.com
Wed Feb 12 12:57:53 UTC 2014


Hello,QNetworkAccessManager does not behave like in Harmattan: when you were triggering a request while not connected to Internet, the "Select Internet connection" dialog was showing, and the request was waiting for the device to connect to the Internet.In Sailfish, triggering a request when the phone is not connected to Internet pop the "Select Internet connection" dialog, but the request immediately returns a HostNotFoundError.
Is it something that will change in the future or do we have to handle that manually?If it needs to be done manually, could anyone share a clean way to do so?
Thanks a lot,
-- Sylvain. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140212/2697adb6/attachment.html>


More information about the Devel mailing list