Showing the changes to libraries/script-engine/src/RecordingScriptingInterface.cpp (1 of 9 files). Show all
Unified · Split
| @@ -61,7 +61,8 @@ void RecordingScriptingInterface::loadRecording(const QString& url, QScriptValue · 60 unmodified lines | |||
| 61 | auto weakClipLoader = clipLoader.toWeakRef(); | 61 | auto weakClipLoader = clipLoader.toWeakRef(); |
| 62 | 62 | ||
| 63 | // when clip loaded, call the callback with the URL and success boolean | 63 | // when clip loaded, call the callback with the URL and success boolean |
| 64 | connect(clipLoader.data(), &recording::NetworkClipLoader::clipLoaded, this, [this, weakClipLoader, url, callback]() mutable { | 64 | connect(clipLoader.data(), &recording::NetworkClipLoader::clipLoaded, this, |
| 65 | [this, weakClipLoader, url, callback]() mutable { | ||
| 65 | 66 | ||
| 66 | if (auto clipLoader = weakClipLoader.toStrongRef()) { | 67 | if (auto clipLoader = weakClipLoader.toStrongRef()) { |
| 67 | qCDebug(scriptengine) << "Loaded recording from" << url; | 68 | qCDebug(scriptengine) << "Loaded recording from" << url; |