mirror of
https://github.com/lubosz/overte.git
synced 2025-04-19 16:44:04 +02:00
Fix built-in resource loading from scripts
This commit is contained in:
parent
ca83999546
commit
ceb60f6eba
1 changed files with 1 additions and 1 deletions
|
@ -1390,7 +1390,7 @@ QUrl ScriptEngine::resolvePath(const QString& include) const {
|
|||
}
|
||||
|
||||
QUrl ScriptEngine::resourcesPath() const {
|
||||
return QUrl::fromLocalFile(PathUtils::resourcesPath());
|
||||
return QUrl(PathUtils::resourcesUrl());
|
||||
}
|
||||
|
||||
void ScriptEngine::print(const QString& message) {
|
||||
|
|
Loading…
Reference in a new issue