Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 5 files). Show all
Unified · Split
| @@ -287,8 +287,9 @@ void ScriptEngine::loadURL(const QUrl& scriptURL) { · 286 unmodified lines | |||
| 287 | QNetworkReply* reply = networkAccessManager.get(networkRequest); | 287 | QNetworkReply* reply = networkAccessManager.get(networkRequest); |
| 288 | connect(reply, &QNetworkReply::finished, this, &ScriptEngine::handleScriptDownload); | 288 | connect(reply, &QNetworkReply::finished, this, &ScriptEngine::handleScriptDownload); |
| 289 | */ | 289 | */ |
| 290 | bool isPending; | ||
| 290 | auto scriptCache = DependencyManager::get<ScriptCache>(); | 291 | auto scriptCache = DependencyManager::get<ScriptCache>(); |
| 291 | scriptCache->getScript(url, this); | 292 | scriptCache->getScript(url, this, isPending); |
| 292 | 293 | ||
| 293 | } | 294 | } |
| 294 | } | 295 | } |