equal
deleted
inserted
replaced
444 int contactId = MsgContactHandler::resolveContactDisplayName( |
444 int contactId = MsgContactHandler::resolveContactDisplayName( |
445 data, |
445 data, |
446 QContactPhoneNumber::DefinitionName, |
446 QContactPhoneNumber::DefinitionName, |
447 QContactPhoneNumber::FieldNumber); |
447 QContactPhoneNumber::FieldNumber); |
448 |
448 |
|
449 // if contact is unresolved on phone number field |
|
450 // then, try resolving it on email address field |
|
451 if(contactId <= 0) |
|
452 { |
|
453 contactId = MsgContactHandler::resolveContactDisplayName( |
|
454 data, |
|
455 QContactEmailAddress::DefinitionName, |
|
456 QContactEmailAddress::FieldEmailAddress); |
|
457 } |
|
458 |
449 if(contactId > 0) |
459 if(contactId > 0) |
450 { |
460 { |
451 //open contact card |
461 //open contact card |
452 operation = QString("open(int)"); |
462 operation = QString("open(int)"); |
453 args << contactId; |
463 args << contactId; |