added Anonymous author string

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1955 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-01-01 17:14:37 +00:00
parent cf8330f350
commit 7715f9dd30

View File

@ -633,7 +633,16 @@ void ForumsDialog::insertThreads()
rsForums->getForumMessage(fId,tit->msgId,msginfo) ;
item->setText(1, QString::fromStdWString(tit->title));
if (rsPeers->getPeerName(msginfo.srcId) !="")
{
item->setText(2, QString::fromStdString(rsPeers->getPeerName(msginfo.srcId)));
}
else
{
item->setText(2, tr("Anonymous"));
}
item->setText(3, "signed");
item->setText(4, QString::fromStdString(tit->parentId));
item->setText(5, QString::fromStdString(tit->msgId));