-rw-r--r-- | noncore/net/mailit/emailclient.cpp | 6 | ||||
-rw-r--r-- | noncore/unsupported/mailit/emailclient.cpp | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/noncore/net/mailit/emailclient.cpp b/noncore/net/mailit/emailclient.cpp index 2cedc51..b039cc4 100644 --- a/noncore/net/mailit/emailclient.cpp +++ b/noncore/net/mailit/emailclient.cpp @@ -469,3 +469,7 @@ void EmailClient::mailArrived(const Email &mail, bool fromDisk) if ((!found)||(fromDisk)) item = new EmailListItem(inboxView, newMail, TRUE); - + + if (item->getMail()->files.count()>0) + { + item->setPixmap(0, Resource::loadPixmap("mailit/attach")); + } /*if (!newMail.downloaded) diff --git a/noncore/unsupported/mailit/emailclient.cpp b/noncore/unsupported/mailit/emailclient.cpp index 2cedc51..b039cc4 100644 --- a/noncore/unsupported/mailit/emailclient.cpp +++ b/noncore/unsupported/mailit/emailclient.cpp @@ -469,3 +469,7 @@ void EmailClient::mailArrived(const Email &mail, bool fromDisk) if ((!found)||(fromDisk)) item = new EmailListItem(inboxView, newMail, TRUE); - + + if (item->getMail()->files.count()>0) + { + item->setPixmap(0, Resource::loadPixmap("mailit/attach")); + } /*if (!newMail.downloaded) |