Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 1 file). Show all
Unified · Split
| @@ -1390,7 +1390,7 @@ QUrl ScriptEngine::resolvePath(const QString& include) const { · 1389 unmodified lines | |||
| 1390 | } | 1390 | } |
| 1391 | 1391 | ||
| 1392 | QUrl ScriptEngine::resourcesPath() const { | 1392 | QUrl ScriptEngine::resourcesPath() const { |
| 1393 | return QUrl::fromLocalFile(PathUtils::resourcesPath()); | 1393 | return QUrl(PathUtils::resourcesUrl()); |
| 1394 | } | 1394 | } |
| 1395 | 1395 | ||
| 1396 | void ScriptEngine::print(const QString& message) { | 1396 | void ScriptEngine::print(const QString& message) { |