don't save ATP requests to cache if they are range requests

This commit is contained in:
Stephen Birarda 2017-04-28 10:32:06 -07:00 committed by Atlante45
parent 11ed8c9ce1
commit 945952d511

View file

@ -114,9 +114,11 @@ void AssetRequest::start() {
_totalReceived += data.size();
emit progress(_totalReceived, data.size());
if (!_byteRange.isSet()) {
saveToCache(getUrl(), data);
}
}
}
if (_error != NoError) {
qCWarning(asset_client) << "Got error retrieving asset" << _hash << "- error code" << _error;