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