phonebookui/phonebookservices/src/cntserviceeditview.cpp
changeset 47 7cbcb2896f0e
parent 31 2a11b5b00470
child 50 77bc263e1626
child 59 a642906a277a
--- a/phonebookui/phonebookservices/src/cntserviceeditview.cpp	Wed Jun 23 18:02:44 2010 +0300
+++ b/phonebookui/phonebookservices/src/cntserviceeditview.cpp	Tue Jul 06 14:05:47 2010 +0300
@@ -22,7 +22,7 @@
 CntServiceEditView::CntServiceEditView(CntServiceHandler *aServiceHandler ) : CntEditView(),
 mServiceHandler(aServiceHandler)
 {   
-    connect( this, SIGNAL(contactUpdated(bool)), this, SLOT(doContactUpdated(bool)) );
+    connect( this, SIGNAL(contactUpdated(int)), this, SLOT(doContactUpdated(int)) );
     connect( this, SIGNAL(contactRemoved(bool)), this, SLOT(doContactRemoved(bool)) );
     connect( this, SIGNAL(changesDiscarded()), this, SLOT(doChangesDiscarded()) );
 }
@@ -31,11 +31,10 @@
 {
 }
 
-void CntServiceEditView::doContactUpdated(bool aSuccess)
+void CntServiceEditView::doContactUpdated(int aSuccess)
 {
     connect(mServiceHandler, SIGNAL(returnValueDelivered()), qApp, SLOT(quit()));
-    int retValue = aSuccess ? 1 : 0;
-    mServiceHandler->completeEdit(retValue);
+    mServiceHandler->completeEdit(aSuccess);
 }
 
 void CntServiceEditView::doContactRemoved(bool aSuccess)