author | alwin <alwin> | 2004-01-02 14:46:42 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-01-02 14:46:42 (UTC) |
commit | f238d6cc096cd1baf3e821af80ecd51917d615ad (patch) (side-by-side diff) | |
tree | 28ea5754277dad74a01adba74c5bf0336fa075f5 /noncore/net/mail/genericwrapper.cpp | |
parent | eac3f38c7d1c56a1800894a488e9ce35ddeb396c (diff) | |
download | opie-f238d6cc096cd1baf3e821af80ecd51917d615ad.zip opie-f238d6cc096cd1baf3e821af80ecd51917d615ad.tar.gz opie-f238d6cc096cd1baf3e821af80ecd51917d615ad.tar.bz2 |
bugfix while assigning mail-numbers
Diffstat (limited to 'noncore/net/mail/genericwrapper.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/genericwrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/mail/genericwrapper.cpp b/noncore/net/mail/genericwrapper.cpp index 5de9299..62116ba 100644 --- a/noncore/net/mail/genericwrapper.cpp +++ b/noncore/net/mail/genericwrapper.cpp @@ -456,13 +456,13 @@ void Genericwrapper::parseList(QList<RecMail> &target,mailsession*session,const } mailimf_single_fields single_fields; mailimf_single_fields_init(&single_fields, msg->msg_fields); mail->setMsgsize(msg->msg_size); mail->setFlags(mFlags); mail->setMbox(mailbox); - mail->setNumber(i+1); + 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) mail->setFrom(parseMailboxList(single_fields.fld_from->frm_mb_list)); if (single_fields.fld_to) mail->setTo( parseAddressList( single_fields.fld_to->to_addr_list ) ); |