Commit 2acaa099 authored by Laurent Montel's avatar Laurent Montel 😁

Minor

parent 68090b85
......@@ -2069,12 +2069,11 @@ void ViewerPrivate::slotShowMessageSource()
return;
}
mNodeHelper->messageWithExtraContent(mMessage.data());
const QString rawMessage = QString::fromLatin1(mMessage->encodedContent());
const QString htmlSource = mViewer->page()->mainFrame()->documentElement().toOuterXml();
MailSourceViewer *viewer = new MailSourceViewer(); // deletes itself upon close
viewer->setWindowTitle(i18n("Message as Plain Text"));
const QString rawMessage = QString::fromLatin1(mMessage->encodedContent());
viewer->setRawSource(rawMessage);
const QString htmlSource = mViewer->page()->mainFrame()->documentElement().toOuterXml();
viewer->setDisplayedSource(htmlSource);
if (mUseFixedFont) {
viewer->setFixedFont();
......
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