History

whitespace repair

Brad Hefta-Gaub committed 11 years ago

Commit 81255c81 parent 4e2cb006 files · +8 −18Browse files

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

Unified · Split

libraries/script-engine/src/ScriptCache.cpp+1−3
@@ -28,7 +28,7 @@ ScriptCache::ScriptCache(QObject* parent) { · 27 unmodified lines
28}28}
29 29
30void ScriptCache::clearCache() {30void ScriptCache::clearCache() {
31 _scriptCache.clear();31 _scriptCache.clear();
32}32}
33 33
34QString ScriptCache::getScript(const QUrl& unnormalizedURL, ScriptUser* scriptUser, bool& isPending, bool reload) {34QString ScriptCache::getScript(const QUrl& unnormalizedURL, ScriptUser* scriptUser, bool& isPending, bool reload) {
@@ -99,8 +99,6 @@ void ScriptCache::getScriptContents(const QString& scriptOrURL, contentAvailable · 64 unmodified lines
99 return;99 return;
100 }100 }
101 101
102 qCDebug(scriptengine) << "ScriptCache::getScriptContents() scriptOrURL:" << scriptOrURL << " forceDownload:" << forceDownload << " on thread[" << QThread::currentThread() << "] expected thread[" << thread() << "]";
103
104 if (_scriptCache.contains(url) && !forceDownload) {102 if (_scriptCache.contains(url) && !forceDownload) {
105 qCDebug(scriptengine) << "Found script in cache:" << url.toString();103 qCDebug(scriptengine) << "Found script in cache:" << url.toString();
106 #if 1 // def THREAD_DEBUGGING104 #if 1 // def THREAD_DEBUGGING