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
185185 return false;
186186 }
187187
188−
189188 if (QThread::currentThread() != thread()) {
190− bool result{ false };
191189 QMetaObject::invokeMethod(this, "saveRecordingToAsset", Qt::BlockingQueuedConnection,
192− Q_ARG(QScriptValue, getClipAtpUrl),
193− Q_RETURN_ARG(bool, result));
194− return result;
190+ Q_ARG(QScriptValue, getClipAtpUrl));
191+ return false;
195192 }
196193
197194 if (!_lastClip) {