summaryrefslogtreecommitdiff
path: root/libopie2/opiepim
authoreilers <eilers>2003-01-03 16:58:03 (UTC)
committer eilers <eilers>2003-01-03 16:58:03 (UTC)
commit7a97cd36cbc4c1a82043cdd44c82f931e2cdbb7f (patch) (side-by-side diff)
tree7b5b2eb5382b3b33ddc752d0b39312f5f00c04a7 /libopie2/opiepim
parentd265299dd3d2ed39a343d3bdfd05eda6705a5c2c (diff)
downloadopie-7a97cd36cbc4c1a82043cdd44c82f931e2cdbb7f.zip
opie-7a97cd36cbc4c1a82043cdd44c82f931e2cdbb7f.tar.gz
opie-7a97cd36cbc4c1a82043cdd44c82f931e2cdbb7f.tar.bz2
Reenable debug output
Diffstat (limited to 'libopie2/opiepim') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiepim/backend/ocontactaccessbackend_xml.h17
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!..");
}
}
}