Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 39 files). Show all
Unified · Split
| @@ -965,7 +965,7 @@ QScriptValue ScriptEngine::evaluate(const QString& sourceCode, const QString& fi · 964 unmodified lines | |||
| 965 | qCDebug(scriptengine) << "*** WARNING *** ScriptEngine::evaluate() called on wrong thread [" << QThread::currentThread() << "], invoking on correct thread [" << thread() << "] " | 965 | qCDebug(scriptengine) << "*** WARNING *** ScriptEngine::evaluate() called on wrong thread [" << QThread::currentThread() << "], invoking on correct thread [" << thread() << "] " |
| 966 | "sourceCode:" << sourceCode << " fileName:" << fileName << "lineNumber:" << lineNumber; | 966 | "sourceCode:" << sourceCode << " fileName:" << fileName << "lineNumber:" << lineNumber; |
| 967 | #endif | 967 | #endif |
| 968 | hifi::qt::blockingInvokeMethod(this, "evaluate", | 968 | BLOCKING_INVOKE_METHOD(this, "evaluate", |
| 969 | Q_RETURN_ARG(QScriptValue, result), | 969 | Q_RETURN_ARG(QScriptValue, result), |
| 970 | Q_ARG(const QString&, sourceCode), | 970 | Q_ARG(const QString&, sourceCode), |
| 971 | Q_ARG(const QString&, fileName), | 971 | Q_ARG(const QString&, fileName), |