Added for Peer name own Label to display bether Friend's names for News Feed's PeerItem

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2973 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-05-22 00:23:13 +00:00
parent 89a6142a9b
commit a5cc8d7ba2
2 changed files with 18 additions and 1 deletions

View file

@ -98,8 +98,15 @@ void PeerItem::updateItemStatic()
break;
}
title += QString::fromStdString(details.name);
titleLabel->setText(title);
/* set textcolor for peername */
QString nameStr("<span style=\"font-size:14pt; font-weight:500;"
"color:white;\">%1</span>");
/* set Blog name */
QString peername = QString::fromStdString(details.name);
peernameLabel->setText(nameStr.arg(peername));
/* expanded Info */
nameLabel->setText(QString::fromStdString(details.name));