History

Fix missing return value in Recording.saveRecordingToAsset()

David Rowe committed 9 years ago

Commit 56763641 parent a9f5b601 file · +3 −1Browse files

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

Unified · Split

libraries/script-engine/src/RecordingScriptingInterface.cpp+3−1
@@ -193,9 +193,11 @@ bool RecordingScriptingInterface::saveRecordingToAsset(QScriptValue getClipAtpUr · 192 unmodified lines
193 }193 }
194 194
195 if (QThread::currentThread() != thread()) {195 if (QThread::currentThread() != thread()) {
196 bool result;
196 QMetaObject::invokeMethod(this, "saveRecordingToAsset", Qt::BlockingQueuedConnection,197 QMetaObject::invokeMethod(this, "saveRecordingToAsset", Qt::BlockingQueuedConnection,
198 Q_RETURN_ARG(bool, result),
197 Q_ARG(QScriptValue, getClipAtpUrl));199 Q_ARG(QScriptValue, getClipAtpUrl));
198 return false;200 return result;
199 }201 }
200 202
201 if (!_lastClip) {203 if (!_lastClip) {