summaryrefslogtreecommitdiffabout
path: root/kabc
Side-by-side diff
Diffstat (limited to 'kabc') (more/less context) (show whitespace changes)
-rw-r--r--kabc/addressbook.cpp2
-rw-r--r--kabc/stdaddressbook.cpp14
2 files changed, 13 insertions, 3 deletions
diff --git a/kabc/addressbook.cpp b/kabc/addressbook.cpp
index c61b387..47d298a 100644
--- a/kabc/addressbook.cpp
+++ b/kabc/addressbook.cpp
@@ -428,5 +428,5 @@ Addressee::List AddressBook::findByName( const QString &name )
Iterator it;
for ( it = begin(); it != end(); ++it ) {
- if ( name == (*it).name() ) {
+ if ( name == (*it).realName() ) {
results.append( *it );
}
diff --git a/kabc/stdaddressbook.cpp b/kabc/stdaddressbook.cpp
index 760820e..9f38f08 100644
--- a/kabc/stdaddressbook.cpp
+++ b/kabc/stdaddressbook.cpp
@@ -64,6 +64,9 @@ StdAddressBook *StdAddressBook::self()
{
QString appdir = StdAddressBook::setTempAppDir();
-
- kdDebug(5700) << "StdAddressBook::self()" << endl;
+ qDebug("****************************************************** ");
+ qDebug("****************************************************** ");
+ qDebug("****************************************************** ");
+ qDebug("****************************************************** ");
+ qDebug("****************************************************** ");
// US im am not sure why I have to use the other format here??
#ifdef KAB_EMBEDDED
@@ -101,4 +104,11 @@ StdAddressBook *StdAddressBook::self( bool onlyFastResources )
if ( !mSelf )
{
+ qDebug("++++++++++++++++++++++++++++++++++++++++++++++++ ");
+ qDebug("++++++++++++++++++++++++++++++++++++++++++++++++ ");
+ qDebug("++++++++++++++++++++++++++++++++++++++++++++++++ ");
+ qDebug("++++++++++++++++++++++++++++++++++++++++++++++++ ");
+ qDebug("++++++++++++++++++++++++++++++++++++++++++++++++ ");
+ qDebug("++++++++++++++++++++++++++++++++++++++++++++++++ ");
+ qDebug("++++++++++++++++++++++++++++++++++++++++++++++++ ");
QString appdir =StdAddressBook::setTempAppDir();
#ifdef KAB_EMBEDDED