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

KCompressionDevice: don't call write after WriteError

Summary:
if an earlier call to write failed, then there is no point in
doing the final write call, it even asserts in the NoneFilter.

Test Plan:
This fixes saving to full disk using a KCompressionDevice set
up with KNoneFilter, in kwrite.

BUG: 397545

Reviewers: cullmann

Reviewed By: cullmann

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D14920
parent e8c550d9
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