equal
deleted
inserted
replaced
82 mContact->saveDetail( &detail ); |
82 mContact->saveDetail( &detail ); |
83 } |
83 } |
84 |
84 |
85 if ( detail.value(QContactPhoneNumber::FieldNumber).isEmpty() ) |
85 if ( detail.value(QContactPhoneNumber::FieldNumber).isEmpty() ) |
86 { |
86 { |
87 // this won't change the pointer value if the detail does not exists in contact. |
|
88 // But, this is the situation in wk20... |
|
89 mContact->removeDetail( &detail ); |
87 mContact->removeDetail( &detail ); |
90 } |
88 } |
91 } |
89 } |
92 |
90 |
93 if ( detail.definitionName() == QContactOnlineAccount::DefinitionName ) |
91 if ( detail.definitionName() == QContactOnlineAccount::DefinitionName ) |