Merge pull request #10322 from Atlante45/RC-38-patch

[RC-38 patch] Don't save ATP requests to cache if they are range requests
This commit is contained in:
Clément Brisset 2017-04-28 15:35:11 -07:00 committed by GitHub
commit 2f12031c51

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;