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

List:       kde-commits
Subject:    branches/kdepim/enterprise/kdepim/libkdepim
From:       Allen Winter <winter () kde ! org>
Date:       2010-03-13 23:17:49
Message-ID: 1268522269.137172.15454.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1102914 by winterz:

use splitEmailAddrList() to parse the selected addresses.
this way, we can support "last,first" <name@domain>
kolab/issue4149

MERGE: trunk,4.4



 M  +2 -2      addressesdialog.cpp  


--- branches/kdepim/enterprise/kdepim/libkdepim/addressesdialog.cpp #1102913:1102914
@@ -67,7 +67,7 @@
 };
 
 struct AddressesDialog::AddressesDialogPrivate {
-  AddressesDialogPrivate() : 
+  AddressesDialogPrivate() :
     ui(0), personal(0), recent(0),
     toItem(0), ccItem(0), bccItem(0),
     ldapSearchDialog(0)
@@ -950,7 +950,7 @@
 void
 AddressesDialog::ldapSearchResult()
 {
-  QStringList emails = QStringList::split(',', d->ldapSearchDialog->selectedEMails() );
+  QStringList emails = KPIM::splitEmailAddrList( d->ldapSearchDialog->selectedEMails() );
   QStringList::iterator it( emails.begin() );
   QStringList::iterator end( emails.end() );
   for ( ; it != end; ++it ){
[prev in list] [next in list] [prev in thread] [next in thread] 

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