summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/accountitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/mail/accountitem.cpp b/noncore/net/mail/accountitem.cpp
index 4869df8..10db2c6 100644
--- a/noncore/net/mail/accountitem.cpp
+++ b/noncore/net/mail/accountitem.cpp
@@ -902,33 +902,33 @@ void MHfolderItem::initName()
902 { 902 {
903 bName.replace(0,1,""); 903 bName.replace(0,1,"");
904 } 904 }
905 int pos = bName.findRev("/"); 905 int pos = bName.findRev("/");
906 if (pos > 0) 906 if (pos > 0)
907 { 907 {
908 bName.replace(0,pos+1,""); 908 bName.replace(0,pos+1,"");
909 } 909 }
910 if (bName.lower() == "outgoing") 910 if (bName.lower() == "outgoing")
911 { 911 {
912 setPixmap( 0, PIXMAP_OUTBOXFOLDER ); 912 setPixmap( 0, PIXMAP_OUTBOXFOLDER );
913 } 913 }
914 else if (bName.lower() == "inbox") 914 else if (bName.lower() == "inbox")
915 { 915 {
916 setPixmap( 0, PIXMAP_INBOXFOLDER); 916 setPixmap( 0, PIXMAP_INBOXFOLDER);
917 } else if (bName.lower() == "drafts") { 917 } else if (bName.lower() == "drafts") {
918 setPixmap(0, Resource::loadPixmap("inline/edit")); 918 setPixmap(0, Resource::loadPixmap("edit"));
919 } else { 919 } else {
920 setPixmap( 0, PIXMAP_MBOXFOLDER ); 920 setPixmap( 0, PIXMAP_MBOXFOLDER );
921 } 921 }
922 setText( 0, bName ); 922 setText( 0, bName );
923} 923}
924 924
925const FolderP&MHfolderItem::getFolder()const 925const FolderP&MHfolderItem::getFolder()const
926{ 926{
927 return folder; 927 return folder;
928} 928}
929 929
930void MHfolderItem::refresh(QValueList<RecMailP>&target) 930void MHfolderItem::refresh(QValueList<RecMailP>&target)
931{ 931{
932 if (folder->may_select()) 932 if (folder->may_select())
933 mbox->getWrapper()->listMessages( folder->getName(),target ); 933 mbox->getWrapper()->listMessages( folder->getName(),target );
934} 934}