mirror of
https://github.com/lubosz/overte.git
synced 2025-04-25 01:23:57 +02:00
call finished() when cached resource has already failed to load
This commit is contained in:
parent
985924a476
commit
6f2f1d6452
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