History

Update names of ResourceRequest enums

Ryan Huffman committed 11 years ago

Commit 2a4b25d1 parent 8f8e0f98 files · +35 −35Browse files

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

Unified · Split

libraries/script-engine/src/ScriptCache.cpp+1−1
@@ -63,7 +63,7 @@ void ScriptCache::scriptDownloaded() { · 62 unmodified lines
6363 QList<ScriptUser*> scriptUsers = _scriptUsers.values(url);
6464 _scriptUsers.remove(url);
6565
66− if (req->getResult() == ResourceRequest::SUCCESS) {
66+ if (req->getResult() == ResourceRequest::Success) {
6767 _scriptCache[url] = req->getData();
6868 qCDebug(scriptengine) << "Done downloading script at:" << url.toString();
6969