Commit e48f0870 authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.rewriter: fixes utf 8 encoding

Task-number: QTCREATORBUG-4040
parent bcb926ed
......@@ -158,7 +158,7 @@ void RewriterView::modelAttached(Model *model)
ModelAmender differenceHandler(m_textToModelMerger.data());
const QString qmlSource = m_textModifier->text();
if (m_textToModelMerger->load(qmlSource.toUtf8(), differenceHandler)) {
if (m_textToModelMerger->load(qmlSource, differenceHandler)) {
lastCorrectQmlSource = qmlSource;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment