phonebookui/phonebookservices/src/cntservicecontactcardview.cpp
changeset 54 47627ab5d7a4
parent 50 77bc263e1626
child 61 d30183af6ca6
--- a/phonebookui/phonebookservices/src/cntservicecontactcardview.cpp	Fri Jul 23 12:43:48 2010 +0300
+++ b/phonebookui/phonebookservices/src/cntservicecontactcardview.cpp	Thu Aug 05 14:31:09 2010 +0300
@@ -18,6 +18,7 @@
 #include "cntservicecontactcardview.h"
 #include "cntabstractserviceprovider.h"
 #include "cntdebug.h"
+#include <cntservicescontact.h>
 
 /*!
 Constructor, initialize member variables.
@@ -47,9 +48,8 @@
 void CntServiceContactCardView::closeContactCard()
 {
     CNT_ENTRY
-    int retValue = -2; // Dummy return value. Not relevant.
     QVariant variant;
-    variant.setValue(retValue);
+    variant.setValue(KCntServicesTerminated);
     mProvider.CompleteServiceAndCloseApp(variant);
     CNT_EXIT
 }