Diffstat (limited to 'korganizer/koimportoldialog.cpp') (more/less context) (ignore whitespace changes)
-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 | } |