equal
deleted
inserted
replaced
317 NM_FUNCTION; |
317 NM_FUNCTION; |
318 |
318 |
319 Q_UNUSED(text); |
319 Q_UNUSED(text); |
320 mNeedToGenerateEmailAddressList = true; |
320 mNeedToGenerateEmailAddressList = true; |
321 } |
321 } |
|
322 |
|
323 /* |
|
324 * If recipient is added from Contacts by Contacts, we need to add it to the list. |
|
325 */ |
|
326 void NmRecipientLineEdit::addContacts(QList<NmAddress *> contacts) |
|
327 { |
|
328 foreach (NmAddress *nmContact,contacts) { |
|
329 if (nmContact && nmContact->displayName().length() > 0) { |
|
330 mRecipientsAddedFromContacts.append(*nmContact); |
|
331 mNeedToGenerateEmailAddressList = true; |
|
332 } |
|
333 } |
|
334 } |