On Wednesday 19 April 2017 11:03:48 Thiago Macieira wrote: > 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.
Doesn't QAN use it's own thread? Then it could already be finished before the connection is made. -- Best Regards Reinhardt Behm _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest