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

List:       kde-commits
Subject:    kdepim/libkdepim
From:       Till Adam <adam () kde ! org>
Date:       2005-03-18 10:31:54
Message-ID: 20050318103154.4DC8816DE8 () office ! kde ! org
[Download RAW message or body]

CVS commit by tilladam: 

SAP's LDAP returns "Penguinfancier, Joseph" for real names, which needs
to be quoted in the email address pseudo completion entry.


  M +1 -1      addresseelineedit.cpp   1.42


--- kdepim/libkdepim/addresseelineedit.cpp  #1.41:1.42
@@ -490,5 +490,5 @@ void AddresseeLineEdit::addContact( cons
       const QString byFirstName= KPIM::quoteNameIfNecessary( addr.givenName() + " " + addr.familyName() \
                ) + " <" + (*it) + ">";
       const QString byLastName= "\"" + addr.familyName() + ", " + addr.givenName() + "\" "  + "<" + \
                (*it) + ">";
-      const QString byEmail= (*it) + " (" + addr.realName() + ")";
+      const QString byEmail= (*it) + " (" + KPIM::quoteNameIfNecessary( addr.realName() ) + ")";
       addCompletionItem( byFirstName, weight );
       addCompletionItem( byLastName, weight );


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

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