phonebookengines/cntlistmodel/src/cntcache.cpp
changeset 50 77bc263e1626
parent 47 7cbcb2896f0e
child 61 d30183af6ca6
--- a/phonebookengines/cntlistmodel/src/cntcache.cpp	Wed Jul 21 11:09:07 2010 +0300
+++ b/phonebookengines/cntlistmodel/src/cntcache.cpp	Wed Jul 21 11:21:49 2010 +0300
@@ -439,9 +439,9 @@
     bool foundContact = false;
 
     QContactFetchHint nameOnlyFetchHint;
-    QStringList details;
+    /*QStringList details;
     details << QContactDisplayLabel::DefinitionName;
-    nameOnlyFetchHint.setDetailDefinitionsHint(details);
+    nameOnlyFetchHint.setDetailDefinitionsHint(details);*/
     nameOnlyFetchHint.setOptimizationHints(QContactFetchHint::NoRelationships);
     QContact contact = mContactManager->contact(contactId, nameOnlyFetchHint);
     
@@ -648,7 +648,7 @@
 {
 	CNT_ENTRY
 
-    delete this;
+    deleteLater();
 
 	CNT_EXIT
 }