History

Another attempt, still not working

Zach Fox committed 7 years ago

Commit 8fdfdba1 parent 7a4aa1e204 files · +38504 −-49Browse files

Showing the changes to libraries/script-engine/src/ScriptEngines.cpp (1 of 204 files). Show all

Unified · Split

libraries/script-engine/src/ScriptEngines.cpp+1−1
@@ -114,7 +114,7 @@ QUrl expandScriptUrl(const QUrl& rawScriptURL) { · 113 unmodified lines
114114 url = QUrl::fromLocalFile(fileInfo.canonicalFilePath());
115115
116116 QUrl defaultScriptsLoc = PathUtils::defaultScriptsLocation();
117− if (!defaultScriptsLoc.isParentOf(url)) {
117+ if (!defaultScriptsLoc.isParentOf(url) && defaultScriptsLoc != url) {
118118 qCWarning(scriptengine) << "Script.include() ignoring file path"
119119 << "-- outside of standard libraries: "
120120 << url.path()