From 55c7fa47ac6784ae2bca5ff20e6130c5993e00f2 Mon Sep 17 00:00:00 2001 From: eilers Date: Tue, 08 Oct 2002 14:25:09 +0000 Subject: contacteditor.cpp --- (limited to 'core') 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 @@ -1417,7 +1417,7 @@ void ContactEditor::setEntry( const OContact &entry ) { *itV = ent.defaultEmail(); if ( *it == tr("Emails" )) - *itV = ent.emailList().join(";"); + *itV = ent.emailList().join(","); // :SX if ( *it == tr("Home Phone" )) *itV = ent.homePhone(); @@ -1617,6 +1617,7 @@ void ContactEditor::saveEntry() { QString allemail; QString defaultmail; parseEmailFrom( *itV, defaultmail, allemail ); + ent.clearEmails(); ent.setDefaultEmail( defaultmail ); ent.insertEmails( *itV ); } -- cgit v0.9.0.2