Closed peng1999 closed 4 years ago
I have no idea why QFile::ReadWrite is used here. It seems that QFile::WriteOnly is sufficient. And QFile::WriteOnly implies QFile::Truncate, which will fix #30 .
QFile::ReadWrite
QFile::WriteOnly
QFile::Truncate
Thanks for the contribution!
I have no idea why
QFile::ReadWrite
is used here. It seems thatQFile::WriteOnly
is sufficient. AndQFile::WriteOnly
impliesQFile::Truncate
, which will fix #30 .