On quarta-feira, 2 de março de 2016 09:53:46 PST Thiago Macieira wrote:
> 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.

Another idea: why don't you use QTemporaryFile?

-- 
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