mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 14:03:17 +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() {
|
||||
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