From 9f07321949f8baf1a64db0e4caec58041d3f775f Mon Sep 17 00:00:00 2001 From: eilers Date: Sat, 30 Aug 2003 15:28:26 +0000 Subject: Removed some unimportant debug output which causes slow down.. --- (limited to 'libopie/pim') diff --git a/libopie/pim/ocontact.cpp b/libopie/pim/ocontact.cpp index e34feeb..0f05b65 100644 --- a/libopie/pim/ocontact.cpp +++ b/libopie/pim/ocontact.cpp @@ -1107,7 +1107,7 @@ void OContact::setAnniversary( const QDate &v ) QDate OContact::birthday() const { QString str = find( Qtopia::Birthday ); - qWarning ("Birthday %s", str.latin1() ); + // qWarning ("Birthday %s", str.latin1() ); if ( !str.isEmpty() ) return OConversion::dateFromString ( str ); else @@ -1122,7 +1122,7 @@ QDate OContact::anniversary() const { QDate empty; QString str = find( Qtopia::Anniversary ); - qWarning ("Anniversary %s", str.latin1() ); + // qWarning ("Anniversary %s", str.latin1() ); if ( !str.isEmpty() ) return OConversion::dateFromString ( str ); else diff --git a/libopie/pim/ocontactaccessbackend_xml.cpp b/libopie/pim/ocontactaccessbackend_xml.cpp index 1c21619..1b5af2f 100644 --- a/libopie/pim/ocontactaccessbackend_xml.cpp +++ b/libopie/pim/ocontactaccessbackend_xml.cpp @@ -17,6 +17,9 @@ * ===================================================================== * History: * $Log$ + * Revision 1.8 2003/08/30 15:28:26 eilers + * Removed some unimportant debug output which causes slow down.. + * * Revision 1.7 2003/08/01 12:30:16 eilers * Merging changes from BRANCH_1_0 to HEAD * @@ -170,7 +173,7 @@ bool OContactAccessBackend_XML::save() // Write all contacts QListIterator it( m_contactList ); for ( ; it.current(); ++it ) { - qWarning(" Uid %d at Offset: %x", (*it)->uid(), idx_offset ); + // qWarning(" Uid %d at Offset: %x", (*it)->uid(), idx_offset ); out += "save( out ); out += "/>\n"; @@ -702,7 +705,7 @@ bool OContactAccessBackend_XML::load( const QString filename, bool isJournal ) int *find = dict[ it.key() ]; /* Unknown attributes will be stored as "Custom" elements */ if ( !find ) { - qWarning("Attribute %s not known.", it.key().latin1()); + // qWarning("Attribute %s not known.", it.key().latin1()); //contact.setCustomField(it.key(), it.data()); customMap.insert( it.key(), it.data() ); continue; -- cgit v0.9.0.2