fhackenberger / ktikz

KtikZ provides a nice user interface for making pictures using TikZ.
Other
348 stars 34 forks source link

Use `WriteOnly` flag when writing file #41

Closed peng1999 closed 4 years ago

peng1999 commented 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 .

jfmcarreira commented 4 years ago

Thanks for the contribution!