mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:24:00 +02:00
Merge pull request #30 from huffman/cache-limit
Update ResourceCache to only emit failure when not retrying
This commit is contained in:
commit
111abac0f1
1 changed files with 1 additions and 1 deletions
|
@ -412,9 +412,9 @@ void Resource::handleReplyFinished() {
|
|||
}
|
||||
|
||||
auto error = result == ResourceRequest::TIMEOUT ? QNetworkReply::TimeoutError : QNetworkReply::UnknownNetworkError;
|
||||
emit failed(error);
|
||||
|
||||
if (!retry) {
|
||||
emit failed(error);
|
||||
ResourceCache::requestCompleted(this);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue