summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/genericwrapper.cpp2
-rw-r--r--noncore/net/mail/libmailwrapper/genericwrapper.cpp2
2 files changed, 2 insertions, 2 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
@@ -459,7 +459,7 @@ void Genericwrapper::parseList(QList<RecMail> &target,mailsession*session,const
459 mail->setMsgsize(msg->msg_size); 459 mail->setMsgsize(msg->msg_size);
460 mail->setFlags(mFlags); 460 mail->setFlags(mFlags);
461 mail->setMbox(mailbox); 461 mail->setMbox(mailbox);
462 mail->setNumber(i+1); 462 mail->setNumber(msg->msg_index);
463 if (single_fields.fld_subject) 463 if (single_fields.fld_subject)
464 mail->setSubject( convert_String(single_fields.fld_subject->sbj_value)); 464 mail->setSubject( convert_String(single_fields.fld_subject->sbj_value));
465 if (single_fields.fld_from) 465 if (single_fields.fld_from)
diff --git a/noncore/net/mail/libmailwrapper/genericwrapper.cpp b/noncore/net/mail/libmailwrapper/genericwrapper.cpp
index 5de9299..62116ba 100644
--- a/noncore/net/mail/libmailwrapper/genericwrapper.cpp
+++ b/noncore/net/mail/libmailwrapper/genericwrapper.cpp
@@ -459,7 +459,7 @@ void Genericwrapper::parseList(QList<RecMail> &target,mailsession*session,const
459 mail->setMsgsize(msg->msg_size); 459 mail->setMsgsize(msg->msg_size);
460 mail->setFlags(mFlags); 460 mail->setFlags(mFlags);
461 mail->setMbox(mailbox); 461 mail->setMbox(mailbox);
462 mail->setNumber(i+1); 462 mail->setNumber(msg->msg_index);
463 if (single_fields.fld_subject) 463 if (single_fields.fld_subject)
464 mail->setSubject( convert_String(single_fields.fld_subject->sbj_value)); 464 mail->setSubject( convert_String(single_fields.fld_subject->sbj_value));
465 if (single_fields.fld_from) 465 if (single_fields.fld_from)