ExtraCompiler: Store contents as Utf8

Avoid conversions when they're not needed.

Change-Id: I7e996bc6e87be4327d75f0d743ff2de38d6ccc32
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2016-02-17 23:41:22 +02:00
committed by Orgad Shaneh
parent 97414e654b
commit 8b0d849a27
5 changed files with 11 additions and 12 deletions

View File

@@ -103,7 +103,7 @@ void GeneratedCodeModelSupport::init() const
QByteArray GeneratedCodeModelSupport::contents() const
{
return m_generator->content(m_generatedFileName).toUtf8();
return m_generator->content(m_generatedFileName);
}
QString GeneratedCodeModelSupport::fileName() const