summaryrefslogtreecommitdiff
authoreilers <eilers>2002-10-08 15:22:00 (UTC)
committer eilers <eilers>2002-10-08 15:22:00 (UTC)
commitfaeb94a4000dc539577af465107b5d10903f92d6 (patch) (unidiff)
tree5a03f2a333b97ea329ef59002ea1ba6d0bf12943
parent55c7fa47ac6784ae2bca5ff20e6130c5993e00f2 (diff)
downloadopie-faeb94a4000dc539577af465107b5d10903f92d6.zip
opie-faeb94a4000dc539577af465107b5d10903f92d6.tar.gz
opie-faeb94a4000dc539577af465107b5d10903f92d6.tar.bz2
email handling fixed
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/contacteditor.cpp6
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
@@ -1414,13 +1414,13 @@ void ContactEditor::setEntry( const OContact &entry ) {
1414 *itV = ent.companyPhone(); 1414 *itV = ent.companyPhone();
1415*/ 1415*/
1416 if ( *it == tr("Default Email" )) 1416 if ( *it == tr("Default Email" ))
1417 *itV = ent.defaultEmail(); 1417 *itV = ent.defaultEmail();
1418 1418
1419 if ( *it == tr("Emails" )) 1419 if ( *it == tr("Emails" ))
1420 *itV = ent.emailList().join(","); // :SX 1420 *itV = ent.emailList().join(", "); // :SX
1421 1421
1422 if ( *it == tr("Home Phone" )) 1422 if ( *it == tr("Home Phone" ))
1423 *itV = ent.homePhone(); 1423 *itV = ent.homePhone();
1424/* 1424/*
1425 if ( *it == "Home 2 Phone" ) 1425 if ( *it == "Home 2 Phone" )
1426 *itV = ent.home2Phone(); 1426 *itV = ent.home2Phone();
@@ -1614,15 +1614,15 @@ void ContactEditor::saveEntry() {
1614 //ent.setDefaultEmail( *itV ); 1614 //ent.setDefaultEmail( *itV );
1615 1615
1616 if ( *it == tr("Emails" )) { 1616 if ( *it == tr("Emails" )) {
1617 QString allemail; 1617 QString allemail;
1618 QString defaultmail; 1618 QString defaultmail;
1619 parseEmailFrom( *itV, defaultmail, allemail ); 1619 parseEmailFrom( *itV, defaultmail, allemail );
1620 ent.clearEmails(); 1620 // ent.clearEmails();
1621 ent.setDefaultEmail( defaultmail ); 1621 ent.setDefaultEmail( defaultmail );
1622 ent.insertEmails( *itV ); 1622 ent.setEmails( allemail );
1623 } 1623 }
1624 1624
1625 if ( *it == tr("Home Phone" )) 1625 if ( *it == tr("Home Phone" ))
1626 ent.setHomePhone( *itV ); 1626 ent.setHomePhone( *itV );
1627/* 1627/*
1628 if ( *it == "Home 2 Phone" ) 1628 if ( *it == "Home 2 Phone" )