mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 10:43:45 +02:00
Collapse line
This commit is contained in:
parent
cfba5752ce
commit
0e0a8301eb
1 changed files with 1 additions and 2 deletions
|
@ -66,8 +66,7 @@ void AssetUpload::start(bool cacheOnSuccess) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cacheOnSuccess && _error == NoError &&
|
if (cacheOnSuccess && _error == NoError && hash == hashData(_data).toHex()) {
|
||||||
hash == hashData(_data).toHex()) {
|
|
||||||
saveToCache(getUrl(hash, _extension), _data);
|
saveToCache(getUrl(hash, _extension), _data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue