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

List:       kmail-devel
Subject:    [Bug 56592] Multiline attachment's Content-Descriptions mess up middle pane (tree)
From:       Ingo "Klöcker" <ingo.kloecker () epost ! de>
Date:       2003-03-31 22:55:14
[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=56592     
ingo.kloecker@epost.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From ingo.kloecker@epost.de  2003-04-01 00:55 -------
Subject: kdepim/kmail

CVS commit by kloecker: 

Fix bug 56592: Displaying folded Content-Description in MIME tree viewer is broken

CCMAIL: 56592-fixed@bugs.kde.org


  M +3 -0      partNode.cpp   1.33


--- kdepim/kmail/partNode.cpp  #1.32:1.33
@@ -13,4 +13,5 @@
 #include "kmmimeparttree.h"
 #include <mimelib/utility.h>
+#include <qregexp.h>
 
 /*
@@ -330,4 +331,6 @@ void partNode::fillMimePartTree( KMMimeP
         cntSize = size;
     }
+    // remove linebreak+whitespace from folded Content-Description
+    cntDesc.replace( QRegExp("\\n\\s*"), " " );
 
 kdDebug(5006) << "      Inserting one item into MimePartTree" << endl;
_______________________________________________
KMail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread] 

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