summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-10-12 11:47:11 (GMT)
committerMontel Laurent <montel@kde.org>2016-10-12 11:48:05 (GMT)
commita62b88f2f593166f513215cb47d55eb5224a3885 (patch)
treef2ffc3ddbca342155a18709856fd6737d5609952
parent434812dcd4ab39e27b8595f131bd55fe61ff1739 (diff)
Fix export vcard
-rw-r--r--kaddressbook/importexportplugins/vcards/vcardimportexportplugininterface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kaddressbook/importexportplugins/vcards/vcardimportexportplugininterface.cpp b/kaddressbook/importexportplugins/vcards/vcardimportexportplugininterface.cpp
index b0747d2..c9b1dbc 100644
--- a/kaddressbook/importexportplugins/vcards/vcardimportexportplugininterface.cpp
+++ b/kaddressbook/importexportplugins/vcards/vcardimportexportplugininterface.cpp
@@ -529,13 +529,13 @@ void VCardImportExportPluginInterface::exportVCard()
switch (mExportVCardType) {
case VCard2_1:
- tmpOk = doExport(url, converter.exportVCards(list, KContacts::VCardConverter::v2_1));
+ tmpOk = doExport(url, converter.exportVCard(contact, KContacts::VCardConverter::v2_1));
break;
case VCard3:
- tmpOk = doExport(url, converter.exportVCards(list, KContacts::VCardConverter::v3_0));
+ tmpOk = doExport(url, converter.exportVCard(contact, KContacts::VCardConverter::v3_0));
break;
case VCard4:
- tmpOk = doExport(url, converter.exportVCards(list, KContacts::VCardConverter::v4_0));
+ tmpOk = doExport(url, converter.exportVCard(contact, KContacts::VCardConverter::v4_0));
break;
}
ok = ok && tmpOk;