fixed back my wrong commit

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4193 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2011-05-08 18:43:08 +00:00
parent cf585b3ce0
commit dd457e15c7

View File

@ -146,7 +146,9 @@ void ForumMsgItem::updateItemStatic()
if (rsPeers->getPeerName(msg.srcId) !="") if (rsPeers->getPeerName(msg.srcId) !="")
{ {
namelabel->setText(QString::fromStdString(rsPeers->getPeerName(msg.srcId))); RetroShareLink linkMessage;
linkMessage.createMessage(msg.srcId, "");
namelabel->setText(linkMessage.toHtml());
} }
else else
{ {
@ -169,7 +171,9 @@ void ForumMsgItem::updateItemStatic()
if (rsPeers->getPeerName(msg.srcId) !="") if (rsPeers->getPeerName(msg.srcId) !="")
{ {
nextnamelabel->setText(QString::fromStdString(rsPeers->getPeerName(msg.srcId))); RetroShareLink linkMessage;
linkMessage.createMessage(msg.srcId, "");
nextnamelabel->setText(linkMessage.toHtml());
} }
else else
{ {
@ -198,7 +202,9 @@ void ForumMsgItem::updateItemStatic()
if (rsPeers->getPeerName(msgParent.srcId) !="") if (rsPeers->getPeerName(msgParent.srcId) !="")
{ {
namelabel->setText(QString::fromStdString(rsPeers->getPeerName(msgParent.srcId))); RetroShareLink linkMessage;
linkMessage.createMessage(msgParent.srcId, "");
namelabel->setText(linkMessage.toHtml());
} }
else else
{ {