mirror of
https://github.com/lubosz/overte.git
synced 2025-08-15 15:58:23 +02:00
change path for defaultscripts.js in scriptengine
This commit is contained in:
parent
92f61dc86f
commit
bced3c2c3c
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