[Interest] Deleting the QNetworkAccessManager post(req, iodev) QIODevice?

Thiago Macieira thiago.macieira at intel.com
Wed Mar 2 18:53:46 CET 2016


On quarta-feira, 2 de março de 2016 17:45:15 PST Jason H wrote:
> Let me expand on this, I can f->setParent(reply), but I also need to delete
> the file from disk. If I rely on the parent/child object deletion, I can't
> get a change to delete the file.

If you're on Unix, you can delete the file while it's still open. The file will 
disappear from the directory listing immediately and the contents will be 
discarded once the  last open file descriptor closes.

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




More information about the Interest mailing list