QNetworkAccessManager::setAutoDeleteReplies and QNetworkReply deletion
-
Hello everyone
I have a question about network reply deletion. In Qt 5.14 was added method for network manager setAutoDeleteReplies which enables or disables automatic deletion of QNetworkReplies. If this flag is true, can I remove line "relpy->deleteLater();" from my connection slots and can I read data from reply before deletion since my slots are connected to "finished" signal of network manager? Thank you for answer. -
Hi,
AFAIK, that's the goal yes.
The deletion happens after the finished emit signal is emitted.