added for tag list items default folder icon

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3051 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-06-01 23:27:34 +00:00
parent b30c142592
commit d7816689e4

View File

@ -662,6 +662,7 @@ void MessagesDialog::fillTags()
for (Item = TagItems.begin(); Item != TagItems.end(); Item++) {
pItem = new QListWidgetItem (Item->second.text, ui.tagWidget);
pItem->setForeground(QBrush(QColor(Item->second.color)));
pItem->setIcon(QIcon(":/images/foldermail.png"));
pItem->setData(Qt::UserRole, Item->first);
pItem->setData(Qt::UserRole + 1, Item->second.text); // for updateMessageSummaryList