cullmann added a comment.
> But pending that, I'm afraid that we'll have to downcast to KCompressionDevice to call a new error() accessor after close()... I can live with that, see comment above, I already added the QFileDevice case. It is not that nice but at least one can handle the error. If you add the missing API, I will adapt the code here. REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D14890 To: cullmann, dhaumann, dfaure Cc: dfaure, kwrite-devel, kde-frameworks-devel, michaelh, kevinapavew, ngraham, bruns, demsking, cullmann, sars, dhaumann