mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 00:41:16 +02:00
Update Resource to only clear load priorities if successful
This commit is contained in:
parent
01724c9c90
commit
1555fc3088
1 changed files with 1 additions and 1 deletions
|
@ -643,12 +643,12 @@ void Resource::attemptRequest() {
|
|||
void Resource::finishedLoading(bool success) {
|
||||
if (success) {
|
||||
qCDebug(networking).noquote() << "Finished loading:" << _url.toDisplayString();
|
||||
_loadPriorities.clear();
|
||||
_loaded = true;
|
||||
} else {
|
||||
qCDebug(networking).noquote() << "Failed to load:" << _url.toDisplayString();
|
||||
_failedToLoad = true;
|
||||
}
|
||||
_loadPriorities.clear();
|
||||
emit finished(success);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue