https://bugs.kde.org/show_bug.cgi?id=387200

Martin Koller <kol...@aon.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |kol...@aon.at
         Resolution|---                         |WONTFIX

--- Comment #1 from Martin Koller <kol...@aon.at> ---
The way it's implemented right now is done to ensure an always intact image
file: "write all or nothing".
It's using Qt's QSaveFile:
##########
QSaveFile is an I/O device for writing text and binary files, without losing
existing data if the writing operation fails.

While writing, the contents will be written to a temporary file, and if no
error happened, commit() will move it to the final file. This ensures that no
data at the final file is lost in case an error happens while writing, and no
partially-written file is ever present at the final location. Always use
QSaveFile when saving entire documents to disk.
##########

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to