don't use deleteLater on smartpointered object

This commit is contained in:
Seth Alves 2017-07-11 17:07:44 -07:00
parent 59c586bc5d
commit 0b2f13dacc

View file

@ -426,7 +426,6 @@ void AudioInjector::triggerDeleteAfterFinish() {
void AudioInjector::stopAndDeleteLater() {
stop();
QMetaObject::invokeMethod(this, "deleteLater", Qt::QueuedConnection);
}
AudioInjectorPointer AudioInjector::playSound(SharedSoundPointer sound, const float volume,