mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 10:29:01 +02:00
Merge pull request #7773 from imgntn/defaultScripts
change path for defaultscripts.js in scriptengine
This commit is contained in:
commit
4160e0c1df
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ static const QString SETTINGS_KEY = "Settings";
|
||||||
|
|
||||||
void ScriptEngines::loadDefaultScripts() {
|
void ScriptEngines::loadDefaultScripts() {
|
||||||
QUrl defaultScriptsLoc = defaultScriptsLocation();
|
QUrl defaultScriptsLoc = defaultScriptsLocation();
|
||||||
defaultScriptsLoc.setPath(defaultScriptsLoc.path() + "/system/defaultScripts.js");
|
defaultScriptsLoc.setPath(defaultScriptsLoc.path() + "/defaultScripts.js");
|
||||||
loadScript(defaultScriptsLoc.toString());
|
loadScript(defaultScriptsLoc.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue