summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mailit/emaillistitem.cpp
Unidiff
Diffstat (limited to 'noncore/unsupported/mailit/emaillistitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mailit/emaillistitem.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/unsupported/mailit/emaillistitem.cpp b/noncore/unsupported/mailit/emaillistitem.cpp
index a325766..b925a1c 100644
--- a/noncore/unsupported/mailit/emaillistitem.cpp
+++ b/noncore/unsupported/mailit/emaillistitem.cpp
@@ -35,17 +35,19 @@ EmailListItem::EmailListItem(QListView *parent, Email mailIn, bool inbox)
35 temp = *it; 35 temp = *it;
36 if (mail.recipients.count() > 1) 36 if (mail.recipients.count() > 1)
37 temp += "..."; 37 temp += "...";
38 setText(0, temp); 38 setText(0, temp);
39 } 39 }
40 setText(1, mail.subject); 40 setText(1, mail.subject);
41 setText(2,mail.date);
41 42
42 if (mailIn.files.count()>0) 43 if (mailIn.files.count()>0)
43 { 44 {
44 setPixmap(0, Resource::loadPixmap("mailit/attach")); 45 setPixmap(0, Resource::loadPixmap("mailit/attach"));
45 } 46 }
47
46 selected = FALSE; 48 selected = FALSE;
47} 49}
48 50
49Email* EmailListItem::getMail() 51Email* EmailListItem::getMail()
50{ 52{
51 return &mail; 53 return &mail;