Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM Messagelib
Commits
7c42ba46
Commit
7c42ba46
authored
Feb 25, 2020
by
Laurent Montel
Browse files
Add comment
parent
81dbf56c
Changes
1
Hide whitespace changes
Inline
Side-by-side
messageviewer/src/htmlwriter/webengineparthtmlwriter.cpp
View file @
7c42ba46
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment