[prev in list] [next in list] [prev in thread] [next in thread]
List: kmail-devel
Subject: [Bug 73824] multipart mails with imap are broken
From: Carsten Burghardt <cb () magic-shop ! de>
Date: 2004-02-15 15:10:53
Message-ID: 20040215151053.6704.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=73824
cb magic-shop de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From cb magic-shop de 2004-02-15 16:10 -------
CVS commit by burghard:
Fix LOD by creating the partNode from the already existing object and not from string
CCMAIL: 73824-done bugs kde org
M +1 -0 kmmessage.h 1.160
M +1 -2 partNode.cpp 1.44
--- kdepim/kmail/partNode.cpp #1.43:1.44
@ -119,6 +119,5 @ partNode * partNode::fromMessage( const
// subscrib-shared, so we just force mimelib to parse the whole mail
// as just another DwBodyPart...
- DwBodyPart * mainBody = new DwBodyPart( msg->asDwString(), 0 );
- mainBody->Parse();
+ DwBodyPart * mainBody = new DwBodyPart( *msg->getTopLevelPart() );
partNode * root = new partNode( mainBody, mainType, mainSubType, true );
--- kdepim/kmail/kmmessage.h #1.159:1.160
@ -588,4 +588,5 @ public:
If there is no body part, return value will be zero. */
DwBodyPart * getFirstDwBodyPart() const;
+ DwMessage * getTopLevelPart() const { return mMsg; }
/** Fill the KMMessagePart structure for a given DwBodyPart.
_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic