- kolab/issue2741 - Add Selected should work i.e. selected contacts should make it to the To: field of the composerwindow.


			
			
				wilder-work
			
			
		
Pradeepto Bhattacharya 18 years ago
parent 7922c821db
commit 3adb80b86f
  1. 10
      recipientspicker.cpp

@ -796,8 +796,6 @@ void RecipientsPicker::slotSearchLDAP()
void RecipientsPicker::ldapSearchResult()
{
kdDebug() << k_funcinfo ;
QStringList emails = QStringList::split(',', mLdapSearchDialog->selectedEMails() );
QStringList::iterator it( emails.begin() );
QStringList::iterator end( emails.end() );
@ -808,8 +806,14 @@ void RecipientsPicker::ldapSearchResult()
KABC::Addressee ad;
ad.setNameFromString( name );
ad.insertEmail( email );
#ifdef KDEPIM_NEW_DISTRLISTS
RecipientItem *item = new RecipientItem( mAddressBook );
#else
RecipientItem *item = new RecipientItem;
#endif
item->setAddressee( ad, ad.preferredEmail() );
emit pickedRecipient( Recipient( item->recipient(), Recipient::Undefined ) );
}
}
#include "recipientspicker.moc"

Loading…
Cancel
Save