author | eilers <eilers> | 2003-01-03 16:58:03 (UTC) |
---|---|---|
committer | eilers <eilers> | 2003-01-03 16:58:03 (UTC) |
commit | 7a97cd36cbc4c1a82043cdd44c82f931e2cdbb7f (patch) (side-by-side diff) | |
tree | 7b5b2eb5382b3b33ddc752d0b39312f5f00c04a7 /libopie/pim/ocontactaccessbackend_xml.h | |
parent | d265299dd3d2ed39a343d3bdfd05eda6705a5c2c (diff) | |
download | opie-7a97cd36cbc4c1a82043cdd44c82f931e2cdbb7f.zip opie-7a97cd36cbc4c1a82043cdd44c82f931e2cdbb7f.tar.gz opie-7a97cd36cbc4c1a82043cdd44c82f931e2cdbb7f.tar.bz2 |
Reenable debug output
Diffstat (limited to 'libopie/pim/ocontactaccessbackend_xml.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie/pim/ocontactaccessbackend_xml.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/libopie/pim/ocontactaccessbackend_xml.h b/libopie/pim/ocontactaccessbackend_xml.h index 6a1c91d..6477705 100644 --- a/libopie/pim/ocontactaccessbackend_xml.h +++ b/libopie/pim/ocontactaccessbackend_xml.h @@ -18,4 +18,7 @@ * 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.. @@ -268,18 +271,20 @@ class OContactAccessBackend_XML : public OContactAccessBackend { // 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!.."); } } |