summaryrefslogtreecommitdiff
authoreilers <eilers>2002-10-08 14:25:09 (UTC)
committer eilers <eilers>2002-10-08 14:25:09 (UTC)
commit55c7fa47ac6784ae2bca5ff20e6130c5993e00f2 (patch) (side-by-side diff)
tree584e31ba44186ad042589d44206f58f9db93191b
parent35858cdc60ab8ca959804e9994a7ce2cf8e99000 (diff)
downloadopie-55c7fa47ac6784ae2bca5ff20e6130c5993e00f2.zip
opie-55c7fa47ac6784ae2bca5ff20e6130c5993e00f2.tar.gz
opie-55c7fa47ac6784ae2bca5ff20e6130c5993e00f2.tar.bz2
contacteditor.cpp
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/contacteditor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp
index fd7f009..5c1391b 100644
--- a/core/pim/addressbook/contacteditor.cpp
+++ b/core/pim/addressbook/contacteditor.cpp
@@ -1412,17 +1412,17 @@ void ContactEditor::setEntry( const OContact &entry ) {
/*
if ( *it == "Company Phone" )
*itV = ent.companyPhone();
*/
if ( *it == tr("Default Email" ))
*itV = ent.defaultEmail();
if ( *it == tr("Emails" ))
- *itV = ent.emailList().join(";");
+ *itV = ent.emailList().join(","); // :SX
if ( *it == tr("Home Phone" ))
*itV = ent.homePhone();
/*
if ( *it == "Home 2 Phone" )
*itV = ent.home2Phone();
*/
if ( *it == tr("Home Fax" ))
@@ -1612,16 +1612,17 @@ void ContactEditor::saveEntry() {
*/
//if ( *it == "Default Email" )
//ent.setDefaultEmail( *itV );
if ( *it == tr("Emails" )) {
QString allemail;
QString defaultmail;
parseEmailFrom( *itV, defaultmail, allemail );
+ ent.clearEmails();
ent.setDefaultEmail( defaultmail );
ent.insertEmails( *itV );
}
if ( *it == tr("Home Phone" ))
ent.setHomePhone( *itV );
/*
if ( *it == "Home 2 Phone" )