QmlJS: Move 'file not found' error message from Bind to Link.

Change-Id: I701fc179f377581b87e31630eaa4231688152f5e
Reviewed-on: http://codereview.qt.nokia.com/2813
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
This commit is contained in:
Christian Kamm
2011-08-10 09:00:40 +02:00
parent 8f5436c4af
commit a6ae570c31
2 changed files with 4 additions and 2 deletions

View File

@@ -278,8 +278,6 @@ bool Bind::visit(UiImport *ast)
else if (importFileInfo.isDir())
type = ImportInfo::DirectoryImport;
else {
_diagnosticMessages->append(
errorMessage(ast, tr("file or directory not found")));
type = ImportInfo::UnknownFileImport;
}
}