Diffstat (limited to 'libopie2/opiepim/backend/ocontactaccessbackend_xml.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiepim/backend/ocontactaccessbackend_xml.h | 17 |
1 files changed, 11 insertions, 6 deletions
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!.."); } } } |