Re: karchive and QSaveFile

2017-04-02 Thread Boudewijn Rempt
On Sat, 1 Apr 2017, Sune Vuorela wrote: > On 2017-03-28, Boudewijn Rempt wrote: > > I'm now wondering whether to hack QSaveFile's close to just not > > abort, or add inherits("QSaveFile") checks all over KArchive -- > > or whether there's a third, better option that I've missed... > > Without ha

Re: karchive and QSaveFile

2017-04-01 Thread Sune Vuorela
On 2017-03-28, Boudewijn Rempt wrote: > I'm now wondering whether to hack QSaveFile's close to just not > abort, or add inherits("QSaveFile") checks all over KArchive -- > or whether there's a third, better option that I've missed... Without having put too much thought into it, add an "Don't clos

karchive and QSaveFile

2017-03-28 Thread Boudewijn Rempt
I'm trying to make Krita use QSaveFile instead of the home-grown mess of temporary files that get copied over the original file after saving succeeded. The problem is that Krita, like Calligra, uses KArchive. And KArchive, even when a KZip is created with an existing QIODevice, decides on its own t