Showing the changes to libraries/script-engine/src/ScriptCache.cpp (1 of 1 file). Show all
Unified · Split
| @@ -27,7 +27,7 @@ ScriptCache::ScriptCache(QObject* parent) { · 26 unmodified lines | |||
| 27 | } | 27 | } |
| 28 | 28 | ||
| 29 | QString ScriptCache::getScript(const QUrl& url, ScriptUser* scriptUser, bool& isPending, bool reload) { | 29 | QString ScriptCache::getScript(const QUrl& url, ScriptUser* scriptUser, bool& isPending, bool reload) { |
| 30 | assert(!_scriptCache.contains(url) || !reload); | 30 | //assert(!_scriptCache.contains(url) || !reload); |
| 31 | 31 | ||
| 32 | QString scriptContents; | 32 | QString scriptContents; |
| 33 | if (_scriptCache.contains(url) && !reload) { | 33 | if (_scriptCache.contains(url) && !reload) { |