History

more spacing adjustments in ScriptEngine.cpp

Stephen Birarda committed 10 years ago

Commit c3f36391 parent 733665d1 file · +7 −4Browse files

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

Unified · Split

libraries/script-engine/src/ScriptEngine.cpp+7−4
@@ -636,7 +636,7 @@ QScriptValue ScriptEngine::evaluate(const QString& sourceCode, const QString& fi · 635 unmodified lines
636636 QScriptValue result;
637637 #ifdef THREAD_DEBUGGING
638638 qDebug() << "*** WARNING *** ScriptEngine::evaluate() called on wrong thread [" << QThread::currentThread() << "], invoking on correct thread [" << thread() << "] "
639− "sourceCode:" << sourceCode << " fileName:" << fileName << "lineNumber:" << lineNumber;
639+ "sourceCode:" << sourceCode << " fileName:" << fileName << "lineNumber:" << lineNumber;
640640 #endif
641641 QMetaObject::invokeMethod(this, "evaluate", Qt::BlockingQueuedConnection,
642642 Q_RETURN_ARG(QScriptValue, result),
@@ -1015,7 +1015,8 @@ void ScriptEngine::forwardHandlerCall(const EntityItemID& entityID, const QStrin · 372 unmodified lines
10151015 void ScriptEngine::loadEntityScript(const EntityItemID& entityID, const QString& entityScript, bool forceRedownload) {
10161016 if (QThread::currentThread() != thread()) {
10171017 #ifdef THREAD_DEBUGGING
1018− qDebug() << "*** WARNING *** ScriptEngine::loadEntityScript() called on wrong thread [" << QThread::currentThread() << "], invoking on correct thread [" << thread() << "] "
1018+ qDebug() << "*** WARNING *** ScriptEngine::loadEntityScript() called on wrong thread ["
1019+ << QThread::currentThread() << "], invoking on correct thread [" << thread() << "] "
10191020 "entityID:" << entityID << "entityScript:" << entityScript <<"forceRedownload:" << forceRedownload;
10201021 #endif
10211022
@@ -1052,8 +1053,10 @@ void ScriptEngine::loadEntityScript(const EntityItemID& entityID, const QString& · 30 unmodified lines
10521053 void ScriptEngine::entityScriptContentAvailable(const EntityItemID& entityID, const QString& scriptOrURL, const QString& contents, bool isURL, bool success) {
10531054 if (QThread::currentThread() != thread()) {
10541055 #ifdef THREAD_DEBUGGING
1055− qDebug() << "*** WARNING *** ScriptEngine::entityScriptContentAvailable() called on wrong thread [" << QThread::currentThread() << "], invoking on correct thread [" << thread() << "] "
1056− "entityID:" << entityID << "scriptOrURL:" << scriptOrURL << "contents:" << contents << "isURL:" << isURL << "success:" << success;
1056+ qDebug() << "*** WARNING *** ScriptEngine::entityScriptContentAvailable() called on wrong thread ["
1057+ << QThread::currentThread() << "], invoking on correct thread [" << thread()
1058+ << "] " "entityID:" << entityID << "scriptOrURL:" << scriptOrURL << "contents:"
1059+ << contents << "isURL:" << isURL << "success:" << success;
10571060 #endif
10581061
10591062 QMetaObject::invokeMethod(this, "entityScriptContentAvailable",