On quinta-feira, 26 de setembro de 2013 08:10:38, Constantin Makshin wrote:
> According to the Qt 4.8 source code on Gitorious, closing QTemporaryFile
> just sets the read-write pointer to the beginning of the file and
> [re]opening it enforces QIODevice::ReadWrite mode (line 82 of
> "src/corelib/io/qtemporaryfile.h" and line 318 of
> "src/corelib/io/qtemporaryfile.cpp") which doesn't truncate the file.

That's an optimisation detail.

Pretend like it really did truncate the file.

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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to