forked from qt-creator/qt-creator
QmlJs::Check: turning "file or directory does not exist" into a warning
Missing files should be a warning.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user