added missing signal causing crach in new model when changing forums

This commit is contained in:
csoler 2018-11-28 23:50:38 +01:00
parent ccdfc3cbf3
commit 9c840baf2e
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -501,7 +501,7 @@ void RsGxsForumModel::setForum(const RsGxsGroupId& forum_group_id)
void RsGxsForumModel::setPosts(const RsGxsForumGroup& group, const std::vector<ForumModelPostEntry>& posts,const std::map<RsGxsMessageId,std::vector<std::pair<time_t,RsGxsMessageId> > >& post_versions)
{
emit dataChanged(createIndex(0,0,(void*)NULL), createIndex(0,COLUMN_THREAD_NB_COLUMNS-1,(void*)NULL));
emit layoutAboutToBeChanged();
mForumGroup = group;
mPosts = posts;
@ -523,6 +523,7 @@ void RsGxsForumModel::setPosts(const RsGxsForumGroup& group, const std::vector<F
emit layoutChanged();
emit forumLoaded();
emit dataChanged(createIndex(0,0,(void*)NULL), createIndex(0,COLUMN_THREAD_NB_COLUMNS-1,(void*)NULL));
}
void RsGxsForumModel::update_posts(const RsGxsGroupId& group_id)