diff --git a/recipientspicker.cpp b/recipientspicker.cpp index 4cc74d189..33069ba54 100644 --- a/recipientspicker.cpp +++ b/recipientspicker.cpp @@ -819,7 +819,7 @@ void RecipientsPicker::slotSearchLDAP() void RecipientsPicker::ldapSearchResult() { - QStringList emails = QStringList::split(',', mLdapSearchDialog->selectedEMails() ); + QStringList emails = mLdapSearchDialog->selectedEMails().split(','); QStringList::iterator it( emails.begin() ); QStringList::iterator end( emails.end() ); for ( ; it != end; ++it ){