phoneengine/phonecntfinder2/src/cphcntmatch2.cpp
changeset 22 6bb1b21d2484
parent 21 92ab7f8d0eab
child 51 f39ed5e045e0
--- a/phoneengine/phonecntfinder2/src/cphcntmatch2.cpp	Fri Mar 19 09:28:42 2010 +0200
+++ b/phoneengine/phonecntfinder2/src/cphcntmatch2.cpp	Fri Apr 16 14:58:25 2010 +0300
@@ -14,7 +14,6 @@
 * Description:
 *
 */
-#include <QDebug>
 #include <qcontact.h>
 #include <qcontactdetail.h>
 #include <qcontactname.h>
@@ -23,6 +22,7 @@
 #include <qtcontactsglobal.h>
 #include "cphcntmatch2.h"
 #include "cphcntcontactidimpl2.h"
+#include "qtphonelog.h"
 
 // ======== MEMBER FUNCTIONS ========
 
@@ -31,7 +31,7 @@
 // ---------------------------------------------------------------------------
 //
 CPhCntMatch2::CPhCntMatch2(const QContact aContact):
-iContact(aContact), iNumber(NULL)
+iContact(aContact), iNumber(NULL), iContactId(NULL), iDummyArray(NULL)
     {
     }
 
@@ -267,7 +267,7 @@
         {
         returnValue = details.first().value(key);        
         }
-    qDebug()<<"CPhCntMatch2::FieldValue:: key is : "<< key << "..value is : "  << returnValue;
+    PHONE_DEBUG4("CPhCntMatch2::FieldValue:: key is :", key, "..value is :", returnValue);
     return returnValue.utf16();    
 }