Commit c99d2ca2 authored by Christian Kamm's avatar Christian Kamm
Browse files

QmlJS: Fix local-file url property check.

parent f1012b43
......@@ -170,7 +170,7 @@ public:
} else {
QString fileName = url.toLocalFile();
if (!fileName.isEmpty()) {
if (url.isRelative()) {
if (QFileInfo(fileName).isRelative()) {
fileName.prepend(QDir::separator());
fileName.prepend(_doc->path());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment