summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/pim/addressbook/contacteditor.cpp4
1 files changed, 2 insertions, 2 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
@@ -1608,27 +1608,27 @@ void ContactEditor::saveEntry() {
1608 ent.setBusinessMobile( *itV ); 1608 ent.setBusinessMobile( *itV );
1609/* 1609/*
1610 if ( *it == "Company Phone" ) 1610 if ( *it == "Company Phone" )
1611 ent.setCompanyPhone( *itV ); 1611 ent.setCompanyPhone( *itV );
1612*/ 1612*/
1613 //if ( *it == "Default Email" ) 1613 //if ( *it == "Default Email" )
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" )
1629 ent.setHome2Phone( *itV ); 1629 ent.setHome2Phone( *itV );
1630*/ 1630*/
1631 if ( *it == tr("Home Fax" )) 1631 if ( *it == tr("Home Fax" ))
1632 ent.setHomeFax( *itV ); 1632 ent.setHomeFax( *itV );
1633 1633
1634 if ( *it == tr("Home Mobile" )) 1634 if ( *it == tr("Home Mobile" ))