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