mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 02:23:57 +02:00
Merge branch 'feat/resource-finished' of github.com:zzmp/hifi
This commit is contained in:
commit
6a98e808db
2 changed files with 4 additions and 0 deletions
|
@ -380,6 +380,7 @@ void Resource::finishedLoading(bool success) {
|
|||
_failedToLoad = true;
|
||||
}
|
||||
_loadPriorities.clear();
|
||||
emit finished(success);
|
||||
}
|
||||
|
||||
void Resource::reinsert() {
|
||||
|
|
|
@ -201,6 +201,9 @@ signals:
|
|||
/// This can be used instead of downloadFinished to access data before it is processed.
|
||||
void loaded(const QByteArray& request);
|
||||
|
||||
/// Fired when the resource has finished loading.
|
||||
void finished(bool success);
|
||||
|
||||
/// Fired when the resource failed to load.
|
||||
void failed(QNetworkReply::NetworkError error);
|
||||
|
||||
|
|
Loading…
Reference in a new issue