Diffstat (limited to 'noncore/net/mailit/emaillistitem.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mailit/emaillistitem.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/net/mailit/emaillistitem.cpp b/noncore/net/mailit/emaillistitem.cpp index a325766..b925a1c 100644 --- a/noncore/net/mailit/emaillistitem.cpp +++ b/noncore/net/mailit/emaillistitem.cpp @@ -29,29 +29,31 @@ EmailListItem::EmailListItem(QListView *parent, Email mailIn, bool inbox) mail = mailIn; if (inbox) { setText(0, mail.from); } else { QStringList::Iterator it = mail.recipients.begin(); temp = *it; if (mail.recipients.count() > 1) temp += "..."; setText(0, temp); } setText(1, mail.subject); + setText(2,mail.date); if (mailIn.files.count()>0) { setPixmap(0, Resource::loadPixmap("mailit/attach")); } + selected = FALSE; } Email* EmailListItem::getMail() { return &mail; } void EmailListItem::setMail(Email newMail) { mail = newMail; repaint(); |