[Kde-pim] Enterprise Header and "To" field

Martin Koller kollix at aon.at
Fri Aug 7 22:59:38 BST 2009


Hi,

https://bugs.kde.org/show_bug.cgi?id=202297
wants to see the mail address also in Enterprise header format.
The following patch does that.
Question: Was this overseen or was this for a specific reason to not show the mail address
(Id say: show it - we're not outlook)

Index: headerstyle.cpp
===================================================================
--- headerstyle.cpp     (Revision 1005628)
+++ headerstyle.cpp     (Arbeitskopie)
@@ -786,7 +786,7 @@
       if ( fromStr.isEmpty() ) // no valid email in from, maybe just a name
         fromStr = message->fromStrip(); // let's use that
       // TODO vcard
-      QString fromPart = KMail::StringUtil::emailAddrAsAnchor( fromStr, true, linkColor );
+      QString fromPart = KMail::StringUtil::emailAddrAsAnchor( fromStr, false, linkColor );
       if ( !vCardName.isEmpty() )
         fromPart += "  <a href=\"" + vCardName + "\" "+linkColor+">" + i18n("[vCard]") + "</a>";
       //TDDO strategy date

-- 
Best regards/Schöne Grüße

Martin    ()  ascii ribbon campaign - against html mail 
          /\                        - against microsoft attachments

Geschenkideen, Accessoires, Seifen, Kulinarisches: www.bibibest.at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20090807/b248daff/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list