Showing the changes to libraries/script-engine/src/ScriptAudioInjector.cpp (1 of 5 files). Show all
Unified · Split
| @@ -31,9 +31,8 @@ ScriptAudioInjector::ScriptAudioInjector(AudioInjector* injector) : · 30 unmodified lines | ||
| 31 | 31 | ScriptAudioInjector::~ScriptAudioInjector() { |
| 32 | 32 | if (!_injector.isNull()) { |
| 33 | 33 | // we've been asked to delete after finishing, trigger a queued deleteLater here |
| 34 | − QMetaObject::invokeMethod(_injector.data(), "triggerDeleteAfterFinish", Qt::QueuedConnection); | |
| 34 | + _injector->triggerDeleteAfterFinish(); | |
| 35 | 35 | } |
| 36 | − | |
| 37 | 36 | } |
| 38 | 37 | |
| 39 | 38 | void ScriptAudioInjector::stopInjectorImmediately() { |