phonebookui/phonebookservices/src/cntservicecontactfetchview.cpp
changeset 81 640d30f4fb64
parent 66 554fe4dbbb59
equal deleted inserted replaced
77:c18f9fa7f42e 81:640d30f4fb64
   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     }