From faeb94a4000dc539577af465107b5d10903f92d6 Mon Sep 17 00:00:00 2001 From: eilers Date: Tue, 08 Oct 2002 15:22:00 +0000 Subject: email handling fixed --- (limited to 'core') 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 @@ -1417,7 +1417,7 @@ void ContactEditor::setEntry( const OContact &entry ) { *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(); @@ -1617,9 +1617,9 @@ void ContactEditor::saveEntry() { 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" )) -- cgit v0.9.0.2