summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mailit/emailclient.cpp6
-rw-r--r--noncore/unsupported/mailit/emailclient.cpp6
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
@@ -467,7 +467,11 @@ void EmailClient::mailArrived(const Email &mail, bool fromDisk)
467 } 467 }
468 } 468 }
469 if ((!found)||(fromDisk)) item = new EmailListItem(inboxView, newMail, TRUE); 469 if ((!found)||(fromDisk)) item = new EmailListItem(inboxView, newMail, TRUE);
470 470
471 if (item->getMail()->files.count()>0)
472 {
473 item->setPixmap(0, Resource::loadPixmap("mailit/attach"));
474 }
471 /*if (!newMail.downloaded) 475 /*if (!newMail.downloaded)
472 mailDownloadList.sizeInsert(newMail.serverId, newMail.size);*/ 476 mailDownloadList.sizeInsert(newMail.serverId, newMail.size);*/
473 477
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
@@ -467,7 +467,11 @@ void EmailClient::mailArrived(const Email &mail, bool fromDisk)
467 } 467 }
468 } 468 }
469 if ((!found)||(fromDisk)) item = new EmailListItem(inboxView, newMail, TRUE); 469 if ((!found)||(fromDisk)) item = new EmailListItem(inboxView, newMail, TRUE);
470 470
471 if (item->getMail()->files.count()>0)
472 {
473 item->setPixmap(0, Resource::loadPixmap("mailit/attach"));
474 }
471 /*if (!newMail.downloaded) 475 /*if (!newMail.downloaded)
472 mailDownloadList.sizeInsert(newMail.serverId, newMail.size);*/ 476 mailDownloadList.sizeInsert(newMail.serverId, newMail.size);*/
473 477