-rw-r--r-- | kaddressbook/kabcore.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index e34951a..ce5c755 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp @@ -2519,2 +2519,5 @@ void KABCore::requestForNameEmailUidList(const QString& sourceChannel, const QSt mEmailSourceChannel = sourceChannel; + mEmailSourceUID = uid; + callContactdialog(); +#if 0 int wid = uid.toInt( &ok ); @@ -2540,3 +2543,3 @@ void KABCore::requestForNameEmailUidList(const QString& sourceChannel, const QSt //QCopEnvelope e("QPE/Application/kapi", "callContactdialog()"); - +#endif } @@ -2553,3 +2556,3 @@ void KABCore::callContactdialog() QStringList uidList; - qDebug("WIDTH %d ", QApplication::desktop()->width() ); + qDebug(" KABCore::callContactdialog:DESKTOP WIDTH %d ", QApplication::desktop()->width() ); KABC::Addressee::List list = KABC::AddresseeDialog::getAddressees(this); @@ -2562,3 +2565,3 @@ void KABCore::callContactdialog() } - QString uid = "unnamed"; + QString uid = mEmailSourceUID; //qDebug("%s %s ", sourceChannel.latin1(), uid.latin1()); |