Commit d6e08c35 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlJs::Check: turning "file or directory does not exist" into a warning

Missing files should be a warning.
parent ad21b485
......@@ -174,8 +174,10 @@ public:
fileName.prepend(QDir::separator());
fileName.prepend(_doc->path());
}
if (!QFileInfo(fileName).exists())
if (!QFileInfo(fileName).exists()) {
_message.message = Check::tr("file or directory does not exist");
_message.kind = DiagnosticMessage::Warning;
}
}
}
}
......
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