Diffstat (limited to 'noncore/net/mailit/emaillistitem.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mailit/emaillistitem.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/net/mailit/emaillistitem.cpp b/noncore/net/mailit/emaillistitem.cpp index d47b0b7..a325766 100644 --- a/noncore/net/mailit/emaillistitem.cpp +++ b/noncore/net/mailit/emaillistitem.cpp | |||
@@ -18,6 +18,7 @@ | |||
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #include <qstring.h> | 20 | #include <qstring.h> |
21 | #include <qpe/resource.h> | ||
21 | #include "emaillistitem.h" | 22 | #include "emaillistitem.h" |
22 | 23 | ||
23 | EmailListItem::EmailListItem(QListView *parent, Email mailIn, bool inbox) | 24 | EmailListItem::EmailListItem(QListView *parent, Email mailIn, bool inbox) |
@@ -38,6 +39,10 @@ EmailListItem::EmailListItem(QListView *parent, Email mailIn, bool inbox) | |||
38 | } | 39 | } |
39 | setText(1, mail.subject); | 40 | setText(1, mail.subject); |
40 | 41 | ||
42 | if (mailIn.files.count()>0) | ||
43 | { | ||
44 | setPixmap(0, Resource::loadPixmap("mailit/attach")); | ||
45 | } | ||
41 | selected = FALSE; | 46 | selected = FALSE; |
42 | } | 47 | } |
43 | 48 | ||