Simplified usage of GxsIdDetails and removed some QTimer.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7714 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2014-11-27 00:55:48 +00:00
parent 705598b0b4
commit f692116207
11 changed files with 558 additions and 477 deletions

View file

@ -100,6 +100,8 @@ void GxsForumMsgItem::setup()
ui->titleLabel->setText(tr("Loading"));
ui->subjectLabel->clear();
ui->timestamplabel->clear();
ui->parentNameLabel->clear();
ui->nameLabel->clear();
/* general ones */
connect(ui->expandButton, SIGNAL(clicked()), this, SLOT(toggle()));
@ -294,6 +296,8 @@ void GxsForumMsgItem::fill()
}
}
ui->nameLabel->setId(mMessage.mMeta.mAuthorId);
// ui->avatar->setId(msg.srcId, true);
// if (rsPeers->getPeerName(msg.srcId) != "") {
@ -323,6 +327,8 @@ void GxsForumMsgItem::fill()
ui->parentSubLabel->setText(linkParent.toHtml());
ui->parentMsgLabel->setText(RsHtml().formatText(NULL, QString::fromUtf8(mParentMessage.mMsg.c_str()), RSHTML_FORMATTEXT_EMBED_SMILEYS | RSHTML_FORMATTEXT_EMBED_LINKS));
ui->parentNameLabel->setId(mParentMessage.mMeta.mAuthorId);
// if (rsPeers->getPeerName(msgParent.srcId) !="")
// {
// RetroShareLink linkMessage;