Fix mkvisitor.

Keep mkvisitor up to date with the current changes in the
Qt Creator repository.

Change-Id: I1e6770fb676f38a7d7aa5a2b4f1e38a2425cd686
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
This commit is contained in:
Roberto Raggi
2012-02-09 11:14:16 +01:00
parent b1f3c69c68
commit def4b89e7d
2 changed files with 2 additions and 2 deletions

View File

@@ -442,7 +442,7 @@ int main(int argc, char *argv[])
Document::Ptr doc = Document::create(fileName);
//doc->control()->setDiagnosticClient(0);
doc->setSource(source);
doc->setUtf8Source(source);
doc->parse();
doc->translationUnit()->blockErrors(true);