forked from qt-creator/qt-creator
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:
committed by
Orgad Shaneh
parent
97414e654b
commit
8b0d849a27
@@ -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
|
||||
|
Reference in New Issue
Block a user