Skip to content
Snippets Groups Projects
Commit c99d2ca2 authored by Christian Kamm's avatar Christian Kamm
Browse files

QmlJS: Fix local-file url property check.

parent f1012b43
No related branches found
No related tags found
No related merge requests found
......@@ -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());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment