Showing the changes to libraries/script-engine/src/ScriptEngines.cpp (1 of 4 files). Show all
Unified · Split
| @@ -429,7 +429,7 @@ ScriptEngine* ScriptEngines::loadScript(const QUrl& scriptFilename, bool isUserL · 428 unmodified lines | |||
| 429 | connect(scriptEngine, &ScriptEngine::errorLoadingScript, this, &ScriptEngines::onScriptEngineError); | 429 | connect(scriptEngine, &ScriptEngine::errorLoadingScript, this, &ScriptEngines::onScriptEngineError); |
| 430 | 430 | ||
| 431 | // get the script engine object to load the script at the designated script URL | 431 | // get the script engine object to load the script at the designated script URL |
| 432 | scriptEngine->loadURL(QUrl(expandScriptUrl(scriptUrl.toString())), reload); | 432 | scriptEngine->loadURL(scriptUrl, reload); |
| 433 | } | 433 | } |
| 434 | 434 | ||
| 435 | return scriptEngine; | 435 | return scriptEngine; |