From f83a59cf4f9d0cff4111b6f5c88e88e6dc96e79e Mon Sep 17 00:00:00 2001 From: zautrix Date: Fri, 28 Oct 2005 03:24:50 +0000 Subject: many new bugs... --- (limited to 'kabc/vcardformatimpl.cpp') diff --git a/kabc/vcardformatimpl.cpp b/kabc/vcardformatimpl.cpp index ec5ed80..26fd4f0 100644 --- a/kabc/vcardformatimpl.cpp +++ b/kabc/vcardformatimpl.cpp @@ -281,7 +281,7 @@ bool VCardFormatImpl::loadAddressee( Addressee& addressee, VCard *v ) addressee.insertAddress( address ); } } - + addressee.makePhoneNumbersOLcompatible(); return true; } @@ -595,7 +595,6 @@ void VCardFormatImpl::addTelephoneValue( VCard *v, const PhoneNumber &p ) if( p.type() & PhoneNumber::Isdn ) params.append( new Param( "TYPE", "isdn" ) ); if( p.type() & PhoneNumber::Pcs ) params.append( new Param( "TYPE", "pcs" ) ); if( p.type() & PhoneNumber::Pager ) params.append( new Param( "TYPE", "pager" ) ); - if( p.type() & PhoneNumber::Sip ) params.append( new Param( "TYPE", "sip" ) ); cl.setParamList( params ); v->add(cl); @@ -628,7 +627,6 @@ PhoneNumber VCardFormatImpl::readTelephoneValue( ContentLine *cl ) else if ( tmpStr == "isdn" ) type |= PhoneNumber::Isdn; else if ( tmpStr == "pcs" ) type |= PhoneNumber::Pcs; else if ( tmpStr == "pager" ) type |= PhoneNumber::Pager; - else if ( tmpStr == "sip" ) type |= PhoneNumber::Sip; } } p.setType( type ); -- cgit v0.9.0.2