Skip to content
Commit b0b2ee5a authored by David Faure's avatar David Faure
Browse files

KCompressionDevice: propagate errors from QIODevice::close()

BUG: 397545

Summary:
QFile::close() doesn't return a value, but sets an error string instead,
we need to check for that and set it in KCompressionDevice so apps can check for that in turn.

Test Plan:
Saving into /tmp/mnt/test.gz with kate, with the setup described in
https://phabricator.kde.org/D14890

Reviewers: cullmann

Reviewed By: cullmann

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D14913
parent 225256f7
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