Commit 7c42ba46 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add comment

parent 81dbf56c
......@@ -72,6 +72,7 @@ void WebEnginePartHtmlWriter::end()
mTempFile = new QTemporaryFile(QDir::tempPath() + QLatin1String("/messageviewer_XXXXXX")+ QLatin1String(".html"));
mTempFile->open();
QTextStream stream(mTempFile);
//TODO we need to change codec when mail use different codec.
stream.setCodec("UTF-8");
stream << data();
......
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