phonebookui/phonebookservices/src/cntservicecontactfetchview.cpp
changeset 65 ae724a111993
parent 59 a642906a277a
child 71 7cc7d74059f9
--- a/phonebookui/phonebookservices/src/cntservicecontactfetchview.cpp	Wed Aug 18 09:39:00 2010 +0300
+++ b/phonebookui/phonebookservices/src/cntservicecontactfetchview.cpp	Thu Sep 02 20:16:15 2010 +0300
@@ -58,7 +58,6 @@
 
 void CntServiceContactFetchView::closeFetchView()
 {
-    QContactManager* mgr = mMgr->contactManager(SYMBIAN_BACKEND);
     QModelIndexList temp = mListView->selectionModel()->selection().indexes();
     mIndex = 0;
     for(int i = 0; i < temp.count(); i++ )
@@ -306,7 +305,7 @@
     {
         aContact.setPreferredDetail(aAction, contactDetail);
         //return value will be ignored because we cannot do anything if it fails.
-        mMgr->contactManager(SYMBIAN_BACKEND)->saveContact(&aContact);
+        mEngine->contactManager(SYMBIAN_BACKEND).saveContact(&aContact);
     }
     
     showPreviousView();