Merge pull request #7773 from imgntn/defaultScripts

change path for defaultscripts.js in scriptengine
This commit is contained in:
Andrew Meadows 2016-04-27 16:35:51 -07:00
commit 4160e0c1df

View file

@ -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());
}