mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 23:19:29 -05:00
added proper loading of comments in Boards
This commit is contained in:
parent
2bdb389200
commit
28568621a1
@ -58,6 +58,16 @@ BoardPostDisplayWidget::BoardPostDisplayWidget(const RsPostedPost& post, Display
|
||||
ui->topLayout->setAlignment(Qt::AlignTop);
|
||||
ui->arrowsLayout->addStretch();
|
||||
ui->arrowsLayout->setAlignment(Qt::AlignTop);
|
||||
|
||||
if(display_flags & SHOW_COMMENTS)
|
||||
{
|
||||
ui->commentsWidget->setTokenService(rsPosted->getTokenService(),rsPosted);
|
||||
|
||||
std::set<RsGxsMessageId> post_versions ;
|
||||
post_versions.insert(post.mMeta.mMsgId) ;
|
||||
|
||||
ui->commentsWidget->commentLoad(post.mMeta.mGroupId, post_versions,mPost.mMeta.mMsgId);
|
||||
}
|
||||
}
|
||||
|
||||
void BoardPostDisplayWidget::setCommentsSize(int comNb)
|
||||
|
Loading…
Reference in New Issue
Block a user