-rw-r--r-- | core/pim/addressbook/contacteditor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp index 5c1391b..12d7421 100644 --- a/core/pim/addressbook/contacteditor.cpp +++ b/core/pim/addressbook/contacteditor.cpp @@ -1416,9 +1416,9 @@ void ContactEditor::setEntry( const OContact &entry ) { if ( *it == tr("Default Email" )) *itV = ent.defaultEmail(); if ( *it == tr("Emails" )) - *itV = ent.emailList().join(","); // :SX + *itV = ent.emailList().join(", "); // :SX if ( *it == tr("Home Phone" )) *itV = ent.homePhone(); /* @@ -1616,11 +1616,11 @@ void ContactEditor::saveEntry() { if ( *it == tr("Emails" )) { QString allemail; QString defaultmail; parseEmailFrom( *itV, defaultmail, allemail ); - ent.clearEmails(); + // ent.clearEmails(); ent.setDefaultEmail( defaultmail ); - ent.insertEmails( *itV ); + ent.setEmails( allemail ); } if ( *it == tr("Home Phone" )) ent.setHomePhone( *itV ); |