mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 12:13:40 +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);
|
||||
|
||||
} else {
|
||||
delete this;
|
||||
deleteLater();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue