-rw-r--r-- | libopie/pim/ocontact.cpp | 5 | ||||
-rw-r--r-- | libopie2/opiepim/ocontact.cpp | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/libopie/pim/ocontact.cpp b/libopie/pim/ocontact.cpp index 8a0930b..b0f0d7f 100644 --- a/libopie/pim/ocontact.cpp +++ b/libopie/pim/ocontact.cpp @@ -1153,5 +1153,5 @@ static VObject *createVObject( const OContact &c ) safeAddPropValue( vcard, "X-Qtopia-Spouse", c.spouse() ); safeAddPropValue( vcard, "X-Qtopia-Gender", c.gender() ); - safeAddPropValue( vcard, "X-Qtopia-Anniversary", TimeConversion::toString( c.anniversary() ) ); + // safeAddPropValue( vcard, "X-Qtopia-Anniversary", TimeConversion::toString( c.anniversary() ) ); :SX safeAddPropValue( vcard, "X-Qtopia-Nickname", c.nickname() ); safeAddPropValue( vcard, "X-Qtopia-Children", c.children() ); @@ -1232,4 +1232,5 @@ static OContact parseVObject( VObject *obj ) QCString name = vObjectName( o ); QString value = vObjectStringZValue( o ); + if ( name == VCHomeProp ) work = FALSE; @@ -1381,5 +1382,5 @@ static OContact parseVObject( VObject *obj ) } else if ( name == "X-Qtopia-Anniversary" ) { - c.setAnniversary( TimeConversion::fromString( value ) ); +// c.setAnniversary( TimeConversion::fromString( value ) ); :SX } else if ( name == "X-Qtopia-Nickname" ) { diff --git a/libopie2/opiepim/ocontact.cpp b/libopie2/opiepim/ocontact.cpp index 8a0930b..b0f0d7f 100644 --- a/libopie2/opiepim/ocontact.cpp +++ b/libopie2/opiepim/ocontact.cpp @@ -1153,5 +1153,5 @@ static VObject *createVObject( const OContact &c ) safeAddPropValue( vcard, "X-Qtopia-Spouse", c.spouse() ); safeAddPropValue( vcard, "X-Qtopia-Gender", c.gender() ); - safeAddPropValue( vcard, "X-Qtopia-Anniversary", TimeConversion::toString( c.anniversary() ) ); + // safeAddPropValue( vcard, "X-Qtopia-Anniversary", TimeConversion::toString( c.anniversary() ) ); :SX safeAddPropValue( vcard, "X-Qtopia-Nickname", c.nickname() ); safeAddPropValue( vcard, "X-Qtopia-Children", c.children() ); @@ -1232,4 +1232,5 @@ static OContact parseVObject( VObject *obj ) QCString name = vObjectName( o ); QString value = vObjectStringZValue( o ); + if ( name == VCHomeProp ) work = FALSE; @@ -1381,5 +1382,5 @@ static OContact parseVObject( VObject *obj ) } else if ( name == "X-Qtopia-Anniversary" ) { - c.setAnniversary( TimeConversion::fromString( value ) ); +// c.setAnniversary( TimeConversion::fromString( value ) ); :SX } else if ( name == "X-Qtopia-Nickname" ) { |