From b76ad1e7e329051a47e28c9d132ce3fcd0b25c5c Mon Sep 17 00:00:00 2001 From: zautrix Date: Thu, 31 Mar 2005 23:55:51 +0000 Subject: fixes --- (limited to 'kmicromail/libmailwrapper') diff --git a/kmicromail/libmailwrapper/genericwrapper.cpp b/kmicromail/libmailwrapper/genericwrapper.cpp index 1ed9f34..0b6adf7 100644 --- a/kmicromail/libmailwrapper/genericwrapper.cpp +++ b/kmicromail/libmailwrapper/genericwrapper.cpp @@ -360,11 +360,11 @@ QString Genericwrapper::parseMailbox( mailimf_mailbox *box ) QString result( "" ); if ( box->mb_display_name == NULL ) { - result.append( box->mb_addr_spec ); + result.append( convert_String(box->mb_addr_spec) ); } else { result.append( convert_String(box->mb_display_name) ); result.append( " <" ); - result.append( box->mb_addr_spec ); + result.append( convert_String( box->mb_addr_spec) ); result.append( ">" ); } @@ -490,8 +490,9 @@ void Genericwrapper::parseList(QValueList > & mail->setNumber(msg->msg_index); if (single_fields.fld_subject) mail->setSubject( convert_String(single_fields.fld_subject->sbj_value)); - if (single_fields.fld_from) + if (single_fields.fld_from) { mail->setFrom(parseMailboxList(single_fields.fld_from->frm_mb_list)); + } if (!mbox_as_to) { if (single_fields.fld_to) mail->setTo( parseAddressList( single_fields.fld_to->to_addr_list ) ); -- cgit v0.9.0.2