I instantiate a Qfile object that handles my I/O operations.
I open my file with (QIODevice::ReadWrite|QIODevice::Truncate) flags.
I'd like that every time i access to the file, it will be empty, also if it has some text inside.
I thought to obtain this behaviour with QIODevice::Truncate, but it doesn't!