From 9c840baf2ed7fdc27ac811b9133ebfa81d5e03ed Mon Sep 17 00:00:00 2001 From: csoler Date: Wed, 28 Nov 2018 23:50:38 +0100 Subject: [PATCH] added missing signal causing crach in new model when changing forums --- retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp b/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp index b819e1970..e38ae759d 100644 --- a/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp +++ b/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp @@ -501,7 +501,7 @@ void RsGxsForumModel::setForum(const RsGxsGroupId& forum_group_id) void RsGxsForumModel::setPosts(const RsGxsForumGroup& group, const std::vector& posts,const std::map > >& 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