On quarta-feira, 19 de abril de 2017 05:30:49 PDT Konstantin Tokarev wrote:
> Hello,
> 
> I wonder if in the following code it's safe to assume onFinished() will
> always be called:
> 
>   QNetworkReply *reply = networkAccessManager->get(request);
>   connect(reply, SIGNAL(finished()), SLOT(onFinished()));
> 
> Or is reply allowed to be in finished state already and never emit finished?

It's guaranteed not to be finished.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

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

Reply via email to