mgerstner created this revision. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. mgerstner requested review of this revision.
REVISION SUMMARY Previously is was not possible to reuse a `KCompressionDevice` object after a call to `open()` failed and `propagateErrorCode()` was called. A subsequent `open()` would work but a later `close()` will fail, because the older errorCode is still set. By resetting the error code before doing an `open()` this situation is avoided and reuse of objects becomes possible. REPOSITORY R243 KArchive REVISION DETAIL https://phabricator.kde.org/D18950 AFFECTED FILES src/kcompressiondevice.cpp To: mgerstner Cc: kde-frameworks-devel, michaelh, ngraham, bruns