mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 16:43:33 +02:00
Merge pull request #10061 from humbletim/fix-cached-ResourceCache
Fix cached ResourceCache::prefetch() state updates
This commit is contained in:
commit
938fab6f59
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ ScriptableResource* ResourceCache::prefetch(const QUrl& url, void* extra) {
|
|||
result->setObjectName(url.toString());
|
||||
|
||||
result->_resource = resource;
|
||||
if (resource->isLoaded()) {
|
||||
if (resource->isLoaded() || resource->_failedToLoad) {
|
||||
result->finished(!resource->_failedToLoad);
|
||||
} else {
|
||||
result->_progressConnection = connect(
|
||||
|
|
Loading…
Reference in a new issue