aacid updated this revision to Diff 10921. aacid added a comment.
We can save some seek calls, but we still need it in the if, there's nothing that guaranteers that "QIODevice::pos" will be d->deviceReadPos so we need to seek to d->deviceReadPos. REPOSITORY R243 KArchive CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D4437?vs=10919&id=10921 REVISION DETAIL https://phabricator.kde.org/D4437 AFFECTED FILES src/kcompressiondevice.cpp EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: aacid, dfaure Cc: #frameworks