summaryrefslogtreecommitdiff
path: root/libopie2
authoreilers <eilers>2003-08-30 15:28:26 (UTC)
committer eilers <eilers>2003-08-30 15:28:26 (UTC)
commit9f07321949f8baf1a64db0e4caec58041d3f775f (patch) (side-by-side diff)
treec80bf99717bd81ce4393aa40bbbdf11fbb3f7457 /libopie2
parentd9b5fcc45b1fef5ac11ef549a47561c7382ff451 (diff)
downloadopie-9f07321949f8baf1a64db0e4caec58041d3f775f.zip
opie-9f07321949f8baf1a64db0e4caec58041d3f775f.tar.gz
opie-9f07321949f8baf1a64db0e4caec58041d3f775f.tar.bz2
Removed some unimportant debug output which causes slow down..
Diffstat (limited to 'libopie2') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/backend/ocontactaccessbackend_xml.cpp7
-rw-r--r--libopie2/opiepim/ocontact.cpp4
2 files changed, 7 insertions, 4 deletions
diff --git a/libopie2/opiepim/backend/ocontactaccessbackend_xml.cpp b/libopie2/opiepim/backend/ocontactaccessbackend_xml.cpp
index 1c21619..1b5af2f 100644
--- a/libopie2/opiepim/backend/ocontactaccessbackend_xml.cpp
+++ b/libopie2/opiepim/backend/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<OContact> 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 += "<Contact ";
(*it)->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;
diff --git a/libopie2/opiepim/ocontact.cpp b/libopie2/opiepim/ocontact.cpp
index e34feeb..0f05b65 100644
--- a/libopie2/opiepim/ocontact.cpp
+++ b/libopie2/opiepim/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