set a default Foreground color for the Group items

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3549 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-09-28 11:21:42 +00:00
parent 11685161f5
commit 797a270b0e

View File

@ -699,6 +699,7 @@ void PeersDialog::insertPeers()
groupItem->setSizeHint(COLUMN_NAME, QSize(26, 26));
groupItem->setTextAlignment(COLUMN_NAME, Qt::AlignLeft | Qt::AlignVCenter);
groupItem->setIcon(COLUMN_NAME, QIcon(IMAGE_GROUP24));
groupItem->setForeground(COLUMN_NAME, QBrush(QColor(123, 123, 123)));
/* used to find back the item */
groupItem->setData(COLUMN_DATA, ROLE_ID, QString::fromStdString(groupInfo->id));