mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 02:56:50 +02:00
don't use deleteLater on smartpointered object
This commit is contained in:
parent
59c586bc5d
commit
0b2f13dacc
1 changed files with 0 additions and 1 deletions
|
@ -426,7 +426,6 @@ void AudioInjector::triggerDeleteAfterFinish() {
|
||||||
|
|
||||||
void AudioInjector::stopAndDeleteLater() {
|
void AudioInjector::stopAndDeleteLater() {
|
||||||
stop();
|
stop();
|
||||||
QMetaObject::invokeMethod(this, "deleteLater", Qt::QueuedConnection);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
AudioInjectorPointer AudioInjector::playSound(SharedSoundPointer sound, const float volume,
|
AudioInjectorPointer AudioInjector::playSound(SharedSoundPointer sound, const float volume,
|
||||||
|
|
Loading…
Reference in a new issue