equal
deleted
inserted
replaced
299 servicesContact.mContactId = aContact.localId(); |
299 servicesContact.mContactId = aContact.localId(); |
300 mServiceList.append(servicesContact); |
300 mServiceList.append(servicesContact); |
301 mIndex--; |
301 mIndex--; |
302 } |
302 } |
303 |
303 |
304 if (aContact.preferredDetail(aAction).isEmpty() && (aAction == "call" || aAction == "message" || aAction == "email")) |
304 if (aContact.preferredDetail(aAction).isEmpty() && (aAction == "call")) |
305 { |
305 { |
306 aContact.setPreferredDetail(aAction, contactDetail); |
306 aContact.setPreferredDetail(aAction, contactDetail); |
307 //return value will be ignored because we cannot do anything if it fails. |
307 //return value will be ignored because we cannot do anything if it fails. |
308 mEngine->contactManager(SYMBIAN_BACKEND).saveContact(&aContact); |
308 mEngine->contactManager(SYMBIAN_BACKEND).saveContact(&aContact); |
309 } |
309 } |