Commit 8c1e801f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Rename method

parent 854e6043
......@@ -299,7 +299,7 @@ void ViewerPrivate::openAttachment(KMime::Content *node, const QUrl &url)
KMime::Message::Ptr m(new KMime::Message);
m->setContent(node->parent()->bodyAsMessage()->encodedContent());
m->parse();
atmViewMsg(m);
attachmentViewMessage(m);
return;
}
// determine the MIME type of the attachment
......@@ -1373,7 +1373,7 @@ void ViewerPrivate::showHideMimeTree()
#endif
}
void ViewerPrivate::atmViewMsg(const KMime::Message::Ptr &message)
void ViewerPrivate::attachmentViewMessage(const KMime::Message::Ptr &message)
{
Q_ASSERT(message);
Q_EMIT showMessage(message, overrideEncoding());
......@@ -2273,7 +2273,7 @@ void ViewerPrivate::attachmentView(KMime::Content *atmNode)
if (atmNode) {
const bool isEncapsulatedMessage = atmNode->parent() && atmNode->parent()->bodyIsMessage();
if (isEncapsulatedMessage) {
atmViewMsg(atmNode->parent()->bodyAsMessage());
attachmentViewMessage(atmNode->parent()->bodyAsMessage());
} else if ((qstricmp(atmNode->contentType()->mediaType().constData(), "text") == 0)
&& ((qstricmp(atmNode->contentType()->subType().constData(), "x-vcard") == 0)
|| (qstricmp(atmNode->contentType()->subType().constData(),
......
......@@ -345,7 +345,7 @@ public:
void showHideMimeTree();
/** View message part of type message/RFC822 in extra viewer window. */
void atmViewMsg(const KMime::Message::Ptr &message);
void attachmentViewMessage(const KMime::Message::Ptr &message);
void adjustLayout();
void createWidgets();
......
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