i havee doubt in this code can you explain please
QNetworkReply
*response
= manager.
get(QNetworkRequest
(QUrl(url1
)));
connect(response,SIGNAL(finished()),&event,SLOT(quit()));//this eventloop will quit untill it reaches finished,,if suppose we not get response from mangaer what will happen here,,event will still in waiting process to quit am i correct.
event.exec();
QUrl url1(pic);
QNetworkReply *response = manager.get(QNetworkRequest(QUrl(url1)));
QEventLoop event;
connect(response,SIGNAL(finished()),&event,SLOT(quit()));//this eventloop will quit untill it reaches finished,,if suppose we not get response from mangaer what will happen here,,event will still in waiting process to quit am i correct.
event.exec();
To copy to clipboard, switch view to plain text mode

Originally Posted by
wysota
That's not true.
Bookmarks