Skip to content
Commit 2307e466 authored by Halla Rempt's avatar Halla Rempt
Browse files

BUG:376098 Warn the user when saving a read-only file

And use QSaveFile to be smart about the permissions and ownership.
Note that this demands a very filthy hack for saving using KoStore:
we need to make sure KArchive cannot close() the iodevice, because
that aborts if it's a QSaveFile.

For other file types, like tiff and exr, we cannot save to io
devices, we can only pass filenames to the relevant libraries. For
those, add a flag to KisImportExportFilter that IO devices aren't
supported, but rather ignored.
parent 4060363c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment