use system path instead of default for loading scripts

This commit is contained in:
James B. Pollack 2016-04-26 15:50:45 -07:00
parent cd59c462d1
commit 37fa703279

View file

@ -253,7 +253,7 @@ static const QString SETTINGS_KEY = "Settings";
void ScriptEngines::loadDefaultScripts() {
QUrl defaultScriptsLoc = defaultScriptsLocation();
defaultScriptsLoc.setPath(defaultScriptsLoc.path() + "/default/defaultScripts.js");
defaultScriptsLoc.setPath(defaultScriptsLoc.path() + "/system/defaultScripts.js");
loadScript(defaultScriptsLoc.toString());
}