author | zautrix <zautrix> | 2004-09-08 11:34:38 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-08 11:34:38 (UTC) |
commit | 1fcec858408b88bb412af18fbf853b49b6970d8a (patch) (side-by-side diff) | |
tree | 702e94a74f0bb90335b9b193d28e31c1dc392c03 /kaddressbook | |
parent | cdff4506a9148c47406af86968da73c0dbfca0ba (diff) | |
download | kdepimpi-1fcec858408b88bb412af18fbf853b49b6970d8a.zip kdepimpi-1fcec858408b88bb412af18fbf853b49b6970d8a.tar.gz kdepimpi-1fcec858408b88bb412af18fbf853b49b6970d8a.tar.bz2 |
Fixed QCOP call problem of kopiemail
-rw-r--r-- | kaddressbook/kabcore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index d1d385c..74e5cf7 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp @@ -2053,38 +2053,38 @@ void KABCore::requestForNameEmailUidList(const QString& sourceChannel, const QSt */ void KABCore::requestForDetails(const QString& sourceChannel, const QString& sessionuid, const QString& name, const QString& email, const QString& uid) { qDebug("KABCore::requestForDetails %s %s %s %s %s", sourceChannel.latin1(), sessionuid.latin1(), name.latin1(), email.latin1(), uid.latin1()); QString foundUid = QString::null; if ( ! uid.isEmpty() ) { Addressee adrr = mAddressBook->findByUid( uid ); if ( !adrr.isEmpty() ) { foundUid = uid; } if ( email == "sendbacklist" ) { - qDebug("ssssssssssssssssssssssend "); + //qDebug("ssssssssssssssssssssssend "); QStringList nameList; QStringList emailList; QStringList uidList; nameList.append(adrr.realName()); emailList = adrr.emails(); uidList.append( adrr.preferredEmail()); bool res = ExternalAppHandler::instance()->returnNameEmailUidListFromKAPI("QPE/Application/ompi", uid, nameList, emailList, uidList); return; } } - if ( email == "sendback" ) + if ( email == "sendbacklist" ) return; if (foundUid.isEmpty()) { //find the uid of the person first Addressee::List namelist; Addressee::List emaillist; if (!name.isEmpty()) namelist = mAddressBook->findByName( name ); if (!email.isEmpty()) emaillist = mAddressBook->findByEmail( email ); |