rendered paste bodyIndex: plugins/_core/userview.cpp
===================================================================
--- plugins/_core/userview.cpp (revision 910)
+++ plugins/_core/userview.cpp (working copy)
@@ -1656,6 +1656,7 @@
//if (name.left(m_search.length()).upper() == m_search.upper())
//Search for substring in contact name
if (name.upper().find(m_search.upper())>-1) {
+ log(L_DEBUG, "Contact List search: Found name %s", (const char *)name.local8Bit());
item->parent()->setOpen(TRUE);
items.push_back(item);
} else {
@@ -1666,6 +1667,7 @@
Client *client = contact->clientData.activeClient(data, it.client());
QString contactName = client->contactName(data);
if (contactName.upper().find(m_search.upper())>-1) {
+ log(L_DEBUG, "Contact List search: Found ID %s", (const char *)contactName.local8Bit());
item->parent()->setOpen(TRUE);
items.push_back(item);
break;