author | alwin <alwin> | 2004-01-03 02:15:10 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-01-03 02:15:10 (UTC) |
commit | 79bca648a80c42d5dc7e7674b251715292db33b3 (patch) (unidiff) | |
tree | 812b854bf4b99d259462a43e1ec10f08f5d72df2 | |
parent | 2e6d55ed011834320165462b64e03ea451c90ead (diff) | |
download | opie-79bca648a80c42d5dc7e7674b251715292db33b3.zip opie-79bca648a80c42d5dc7e7674b251715292db33b3.tar.gz opie-79bca648a80c42d5dc7e7674b251715292db33b3.tar.bz2 |
mail attachments will be displayed in order of attachment not sorted
-rw-r--r-- | noncore/net/mail/viewmail.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/net/mail/viewmail.cpp b/noncore/net/mail/viewmail.cpp index 5e7ffeb..d4c5150 100644 --- a/noncore/net/mail/viewmail.cpp +++ b/noncore/net/mail/viewmail.cpp | |||
@@ -149,4 +149,5 @@ for (unsigned int i = 0; i < body.Parts().count();++i) { | |||
149 | curItem=new AttachItem(parentItem,curItem,type,desc,filename,fsize,i,body.Parts()[i].Positionlist()); | 149 | curItem=new AttachItem(parentItem,curItem,type,desc,filename,fsize,i,body.Parts()[i].Positionlist()); |
150 | attachments->setRootIsDecorated(true); | 150 | attachments->setRootIsDecorated(true); |
151 | curItem = parentItem; | ||
151 | } else { | 152 | } else { |
152 | curItem=new AttachItem(attachments,curItem,type,desc,filename,fsize,i,body.Parts()[i].Positionlist()); | 153 | curItem=new AttachItem(attachments,curItem,type,desc,filename,fsize,i,body.Parts()[i].Positionlist()); |
@@ -247,5 +248,5 @@ ViewMail::ViewMail( QWidget *parent, const char *name, WFlags fl) | |||
247 | 248 | ||
248 | readConfig(); | 249 | readConfig(); |
249 | 250 | attachments->setSorting(-1); | |
250 | } | 251 | } |
251 | 252 | ||