Showing the changes to libraries/script-engine/src/ScriptCache.cpp (1 of 8 files). Show all
Unified · Split
| @@ -63,7 +63,7 @@ void ScriptCache::scriptDownloaded() { · 62 unmodified lines | ||
| 63 | 63 | QList<ScriptUser*> scriptUsers = _scriptUsers.values(url); |
| 64 | 64 | _scriptUsers.remove(url); |
| 65 | 65 | |
| 66 | − if (req->getResult() == ResourceRequest::SUCCESS) { | |
| 66 | + if (req->getResult() == ResourceRequest::Success) { | |
| 67 | 67 | _scriptCache[url] = req->getData(); |
| 68 | 68 | qCDebug(scriptengine) << "Done downloading script at:" << url.toString(); |
| 69 | 69 | |