From a97485bb2ff1b4f274d9cf0fba9e2f122297deed Mon Sep 17 00:00:00 2001 From: zautrix Date: Fri, 22 Oct 2004 10:07:21 +0000 Subject: fixed vcard export bug --- (limited to 'kaddressbook') diff --git a/kaddressbook/xxport/vcard_xxport.cpp b/kaddressbook/xxport/vcard_xxport.cpp index 3079d42..acf6419 100644 --- a/kaddressbook/xxport/vcard_xxport.cpp +++ b/kaddressbook/xxport/vcard_xxport.cpp @@ -121,7 +121,6 @@ bool VCardXXPort::exportContacts( const KABC::AddresseeList &list, const QString else version = KABC::VCardConverter::v3_0; - version = KABC::VCardConverter::v2_1; converter.addresseeToVCard( *it, vcard, version ); t << vcard << "\r\n\r\n"; } diff --git a/kaddressbook/xxportmanager.cpp b/kaddressbook/xxportmanager.cpp index 810c3e2..1f0c9ea 100644 --- a/kaddressbook/xxportmanager.cpp +++ b/kaddressbook/xxportmanager.cpp @@ -162,7 +162,6 @@ void XXPortManager::slotExport( const QString &identifier, const QString &data ) addrList = dlg.contacts(); else return; - if ( !obj->exportContacts( addrList, data ) ) KMessageBox::error( mCore, i18n( "Unable to export contacts." ) ); else -- cgit v0.9.0.2