From 7a97cd36cbc4c1a82043cdd44c82f931e2cdbb7f Mon Sep 17 00:00:00 2001 From: eilers Date: Fri, 03 Jan 2003 16:58:03 +0000 Subject: Reenable debug output --- (limited to 'libopie2') diff --git a/libopie2/opiepim/backend/ocontactaccessbackend_xml.h b/libopie2/opiepim/backend/ocontactaccessbackend_xml.h index 6a1c91d..6477705 100644 --- a/libopie2/opiepim/backend/ocontactaccessbackend_xml.h +++ b/libopie2/opiepim/backend/ocontactaccessbackend_xml.h @@ -17,6 +17,9 @@ * ===================================================================== * History: * $Log$ + * Revision 1.12 2003/01/03 16:58:03 eilers + * Reenable debug output + * * Revision 1.11 2003/01/03 12:31:28 eilers * Bugfix for calculating data diffs.. * @@ -267,20 +270,22 @@ class OContactAccessBackend_XML : public OContactAccessBackend { QDate current = QDate::currentDate(); // We have to equalize the year, otherwise // the search will fail.. - checkDate->setYMD( current.year(), checkDate->month(), checkDate->day() ); + checkDate->setYMD( current.year(), + checkDate->month(), + checkDate->day() ); if ( *checkDate < current ) checkDate->setYMD( current.year()+1, checkDate->month(), checkDate->day() ); - // qWarning("Checking if %s is between %s and %s ! ", - // checkDate->toString().latin1(), - // current.toString().latin1(), - // queryDate->toString().latin1() ); + qWarning("Checking if %s is between %s and %s ! ", + checkDate->toString().latin1(), + current.toString().latin1(), + queryDate->toString().latin1() ); if ( current.daysTo( *queryDate ) > 0 ){ if ( !( ( *checkDate >= current ) && ( *checkDate <= *queryDate ) ) ){ allcorrect = false; - //qWarning (" Nope!.."); + qWarning (" Nope!.."); } } } -- cgit v0.9.0.2