mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 13:33:38 +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() {
|
||||
QUrl defaultScriptsLoc = defaultScriptsLocation();
|
||||
defaultScriptsLoc.setPath(defaultScriptsLoc.path() + "/system/defaultScripts.js");
|
||||
defaultScriptsLoc.setPath(defaultScriptsLoc.path() + "/defaultScripts.js");
|
||||
loadScript(defaultScriptsLoc.toString());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue