mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 10:49:33 +02:00
Delete resource the Qt way
This commit is contained in:
parent
08a19c0471
commit
4300f2e415
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ void Resource::allReferencesCleared() {
|
||||||
_cache->addUnusedResource(self);
|
_cache->addUnusedResource(self);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
delete this;
|
deleteLater();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue