-rw-r--r-- | kabc/vcard21parser.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/kabc/vcard21parser.cpp b/kabc/vcard21parser.cpp index 277de22..60d02b8 100644 --- a/kabc/vcard21parser.cpp +++ b/kabc/vcard21parser.cpp @@ -172,4 +172,3 @@ bool VCardLineX::isValid() const qualifiers.contains(VCARD_TEL_VIDEO) || - qualifiers.contains(VCARD_TEL_PCS) || - qualifiers.contains(VCARD_TEL_SIP) + qualifiers.contains(VCARD_TEL_PCS) ) ) @@ -282,4 +281,4 @@ KABC::Addressee VCard21Parser::readFromString( const QString &data) type |= PhoneNumber::Pref; - // if ( (*i).qualifiers.contains( VCARD_TEL_VOICE ) ) - // type |= PhoneNumber::Voice; + if ( (*i).qualifiers.contains( VCARD_TEL_VOICE ) ) + type |= PhoneNumber::Voice; if ( (*i).qualifiers.contains( VCARD_TEL_FAX ) ) @@ -304,4 +303,3 @@ KABC::Addressee VCard21Parser::readFromString( const QString &data) type |= PhoneNumber::Pcs; - if ( (*i).qualifiers.contains( VCARD_TEL_SIP ) ) - type |= PhoneNumber::Sip; + } @@ -310,3 +308,3 @@ KABC::Addressee VCard21Parser::readFromString( const QString &data) } - + addressee.makePhoneNumbersOLcompatible(); //set the addressee's addresses |