[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/pim/akonadi/exchange/connector
From:       Shaheed Haque <srhaque () theiet ! org>
Date:       2012-01-19 23:18:43
Message-ID: 20120119231843.13EE4AC891 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1274747 by shaheed:

Eliminate some debug.


 M  +2 -5      mapiconnector2.cpp  


--- trunk/playground/pim/akonadi/exchange/connector/mapiconnector2.cpp #1274746:1274747
@@ -495,7 +495,7 @@
 {
 	debug() << "candidate address:" << source << candidate.toString();
 	if (candidate.name.isEmpty() && candidate.email.isEmpty()) {
-		debug() << "ignore garbage";
+		// Discard garbage.
 		return;
 	}
 
@@ -541,7 +541,6 @@
 			}
 		}
 	}
-	debug() << "transformed candidate:" << candidate.toString();
 
 	for (int i = 0; i < m_recipients.size(); i++) {
 		MapiRecipient &entry = m_recipients[i];
@@ -567,7 +566,6 @@
 				if (entry.objectType() == MapiRecipient::OtMailuser) {
 					entry.setObjectType(candidate.objectType());
 				}
-				debug() << "updated address" << entry.toString();
 			}
 			return;
 		}
@@ -588,14 +586,13 @@
 				if (entry.objectType() == MapiRecipient::OtMailuser) {
 					entry.setObjectType(candidate.objectType());
 				}
-				debug() << "updated address" << entry.toString();
 			}
 			return;
 		}
 	}
 
 	// Add the entry if it did not match.
-	debug() << "add new address" << candidate.toString();
+	debug() << "add new address:" << source << candidate.toString();
 	m_recipients.append(candidate);
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic