[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdepim/kmail
From:       Till Adam <adam () kde ! org>
Date:       2005-04-19 10:36:21
Message-ID: 20050419103621.DA52A651 () office ! kde ! org
[Download RAW message or body]

CVS commit by tilladam: 

Remove the limitation of not being able to get text body parts as binary, 
which is needed if a plugin wants to have a different fallback encoding 
from the KMail one. Ok'd by Marc.


  M +0 -2      partnodebodypart.cpp   1.5


--- kdepim/kmail/partnodebodypart.cpp  #1.4:1.5
@@ -61,6 +61,4 @@ QString KMail::PartNodeBodyPart::asText(
 
 QByteArray KMail::PartNodeBodyPart::asBinary() const {
-  if ( mPartNode.type() == DwMime::kTypeText )
-    return QByteArray();
   return mPartNode.msgPart().bodyDecodedBinary();
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic