From 00894537decf01c5a5cdc565b2740b5e67a2e90f Mon Sep 17 00:00:00 2001 From: groucho Date: Wed, 07 May 2003 06:55:30 +0000 Subject: Smaller fix which shows attachment icons also for downloaded mails --- (limited to 'noncore/net/mailit') 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) } } 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) mailDownloadList.sizeInsert(newMail.serverId, newMail.size);*/ -- cgit v0.9.0.2