phonebookui/phonebookservices/src/cntserviceproviderfetch.cpp
changeset 53 e6aff7b69165
parent 50 77bc263e1626
child 72 6abfb1094884
--- a/phonebookui/phonebookservices/src/cntserviceproviderfetch.cpp	Wed Jul 21 11:37:51 2010 +0300
+++ b/phonebookui/phonebookservices/src/cntserviceproviderfetch.cpp	Fri Jul 23 12:43:48 2010 +0300
@@ -46,7 +46,7 @@
 {
     CNT_ENTRY
     mCurrentRequestIndex = setCurrentRequestAsync();
-    mServices.setQuitable(requestInfo().isEmbedded());
+    mServices.setQuittable(requestInfo().isEmbedded());
     mServices.multiFetch( title, action, *this );
     CNT_EXIT
 }
@@ -55,7 +55,7 @@
 {
     CNT_ENTRY
     mCurrentRequestIndex = setCurrentRequestAsync();
-    mServices.setQuitable(requestInfo().isEmbedded());
+    mServices.setQuittable(requestInfo().isEmbedded());
     mServices.singleFetch( title, action, *this );
     CNT_EXIT
 }
@@ -63,9 +63,9 @@
 void CntServiceProviderFetch::CompleteServiceAndCloseApp(const QVariant& retValue)
 {
     CNT_ENTRY
-    connect(this, SIGNAL(returnValueDelivered()), qApp, SLOT(quit()));
     if ( mCurrentRequestIndex != 0 )
     {
+        connect(this, SIGNAL(returnValueDelivered()), qApp, SLOT(quit()));
         const bool success = completeRequest(mCurrentRequestIndex, retValue);
         if ( !success )
         {