Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 73359eed authored by Laurent Montel's avatar Laurent Montel 😁

Use exportVCards here

parent 69dc1fb6
......@@ -2357,7 +2357,7 @@ void KMComposeWin::slotExpandGroupResult(KJob *job)
const QString attachmentName = expandJob->property("groupName").toString();
const QByteArray mimeType = "text/x-vcard";
KABC::VCardConverter converter;
const QByteArray groupData = converter.createVCards(expandJob->contacts());
const QByteArray groupData = converter.exportVCards(expandJob->contacts(), KABC::VCardConverter::v3_0);
if (!groupData.isEmpty()) {
addAttachment( attachmentName, KMime::Headers::CEbase64, QString(), groupData, mimeType );
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment