added a cache for comments in comment tree widget to make loading synchronous when necessary

This commit is contained in:
csoler 2020-09-18 23:12:48 +02:00
parent a142694896
commit c7bc7e814b
5 changed files with 49 additions and 10 deletions

View file

@ -68,7 +68,7 @@ BoardPostDisplayWidget::BoardPostDisplayWidget(const RsPostedPost& post, Display
std::set<RsGxsMessageId> post_versions ;
post_versions.insert(post.mMeta.mMsgId) ;
ui->commentsWidget->commentLoad(post.mMeta.mGroupId, post_versions,mPost.mMeta.mMsgId);
ui->commentsWidget->commentLoad(post.mMeta.mGroupId, post_versions,mPost.mMeta.mMsgId,true);
}
}