History

cleanup

Brad Hefta-Gaub committed 10 years ago

Commit f6c75d01 parent 05203632 files · +2 −5Browse files

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

Unified · Split

libraries/script-engine/src/ScriptEngine.cpp+1−3
@@ -18,6 +18,7 @@ · 17 unmodified lines
1818 #include <QtNetwork/QNetworkReply>
1919 #include <QtScript/QScriptEngine>
2020 #include <QtScript/QScriptValue>
21+#include <QtScript/QScriptValueIterator>
2122 #include <QtCore/QStringList>
2223
2324 #include <AudioConstants.h>
@@ -1072,7 +1073,6 @@ void ScriptEngine::loadEntityScript(QWeakPointer<ScriptEngine> theEngine, const · 1048 unmodified lines
10721073 // since all of these operations can be asynch we will always do the actual work in the response handler
10731074 // for the download
10741075 void ScriptEngine::entityScriptContentAvailable(const EntityItemID& entityID, const QString& scriptOrURL, const QString& contents, bool isURL, bool success) {
1075−
10761076 if (QThread::currentThread() != thread()) {
10771077 #ifdef THREAD_DEBUGGING
10781078 qDebug() << "*** WARNING *** ScriptEngine::entityScriptContentAvailable() called on wrong thread ["
@@ -1184,8 +1184,6 @@ void ScriptEngine::unloadEntityScript(const EntityItemID& entityID) { · 105 unmodified lines
11841184 }
11851185 }
11861186
1187−#include <QScriptValueIterator>
1188−
11891187 void ScriptEngine::unloadAllEntityScripts() {
11901188 if (QThread::currentThread() != thread()) {
11911189 #ifdef THREAD_DEBUGGING