Using KCompressionDevice with QSaveFile

Dominik Haumann dhaumann at kde.org
Fri Dec 27 15:14:06 UTC 2013


On Tuesday 10 December 2013 23:31:33 David Faure wrote:
> On Tuesday 10 December 2013 21:48:09 Dominik Haumann wrote:
> > It seems that the behavior for "None" is different. Interestingly,
> > KSaveFile also behaved like this (KFilterDev did not change after all I
> > guess).
> I'm surprised, because KCompressionDevice::None didn't exist before, it was
> all new code in KF5. KFilterDev had very different code in KDE4, and no
> support for "no compression" itself (deviceFromFile would simply return a
> QFile instead of a KFilterDev, in that case).
> 
> Anyhow, it's fixed now, I rewrote the new "none" filter.

Just for reference, this works now in Kate Part.

Thanks!
Dominik


More information about the Kde-frameworks-devel mailing list