History

address code review comments

Stephen Birarda committed 9 years ago

Commit 7b48fec1 parent 1b245389 files · +20 −7Browse files

Showing the changes to libraries/script-engine/src/RecordingScriptingInterface.cpp (1 of 9 files). Show all

Unified · Split

libraries/script-engine/src/RecordingScriptingInterface.cpp+2−1
@@ -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 boolean63 // 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;