phonebookui/phonebookservices/src/cntservicecontactfetchview.cpp
changeset 61 d30183af6ca6
parent 54 47627ab5d7a4
child 66 554fe4dbbb59
--- a/phonebookui/phonebookservices/src/cntservicecontactfetchview.cpp	Wed Aug 11 09:06:35 2010 +0300
+++ b/phonebookui/phonebookservices/src/cntservicecontactfetchview.cpp	Mon Aug 23 16:06:28 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();