History

Save clip to asset - removing last fix

EdgarPironti committed 10 years ago

Commit ebbed7c1 parent 22287cb1 file · +2 −5Browse 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+2−5
@@ -185,13 +185,10 @@ bool RecordingScriptingInterface::saveRecordingToAsset(QScriptValue getClipAtpUr · 184 unmodified lines
185 return false;185 return false;
186 }186 }
187 187
188
189 if (QThread::currentThread() != thread()) {188 if (QThread::currentThread() != thread()) {
190 bool result{ false };
191 QMetaObject::invokeMethod(this, "saveRecordingToAsset", Qt::BlockingQueuedConnection,189 QMetaObject::invokeMethod(this, "saveRecordingToAsset", Qt::BlockingQueuedConnection,
192 Q_ARG(QScriptValue, getClipAtpUrl),190 Q_ARG(QScriptValue, getClipAtpUrl));
193 Q_RETURN_ARG(bool, result));191 return false;
194 return result;
195 }192 }
196 193
197 if (!_lastClip) {194 if (!_lastClip) {