author | zautrix <zautrix> | 2005-06-29 21:26:43 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-29 21:26:43 (UTC) |
commit | 7ccfe9b674bd5cc52eab708c2e7dfb02c3328deb (patch) (unidiff) | |
tree | 4083b66180ee5385ee12dc2a9e03ef26e78f1f58 | |
parent | d1ca2fd41cb1390843c974c985cae5912d458d51 (diff) | |
download | kdepimpi-7ccfe9b674bd5cc52eab708c2e7dfb02c3328deb.zip kdepimpi-7ccfe9b674bd5cc52eab708c2e7dfb02c3328deb.tar.gz kdepimpi-7ccfe9b674bd5cc52eab708c2e7dfb02c3328deb.tar.bz2 |
fixx
-rw-r--r-- | korganizer/koimportoldialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/koimportoldialog.cpp b/korganizer/koimportoldialog.cpp index c4d5f06..7aa6076 100644 --- a/korganizer/koimportoldialog.cpp +++ b/korganizer/koimportoldialog.cpp | |||
@@ -477,10 +477,10 @@ QString KOImportOLdialog::getUidByEmail( QString email ) | |||
477 | { | 477 | { |
478 | KABC::StdAddressBook* AddressBook = KABC::StdAddressBook::self( true ); | 478 | KABC::StdAddressBook* AddressBook = KABC::StdAddressBook::self( true ); |
479 | KABC::AddressBook::Iterator it; | 479 | KABC::AddressBook::Iterator it; |
480 | for( it = AddressBook->begin(); it != AddressBook->end(); ++it ) { | 480 | for( it = AddressBook->begin(); it != AddressBook->end(); ++it ) { |
481 | QStringList em = (*it).emails(); | 481 | QStringList em = (*it).emails(); |
482 | if ( em.contains( email )) | 482 | if ( em.contains( email )) |
483 | return (*it).uid(); | 483 | return (*it).uid(); |
484 | } | 484 | } |
485 | return ""; | 485 | return email; |
486 | } | 486 | } |