mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-04 12:21:04 -05:00
use CreatForumMsg when replying from News Feed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2242 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
96caa40895
commit
55c514d850
@ -24,6 +24,8 @@
|
|||||||
#include "FeedHolder.h"
|
#include "FeedHolder.h"
|
||||||
|
|
||||||
#include "rsiface/rsforums.h"
|
#include "rsiface/rsforums.h"
|
||||||
|
#include "gui/forums/CreateForumMsg.h"
|
||||||
|
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
@ -76,7 +78,7 @@ void ForumMsgItem::updateItemStatic()
|
|||||||
if (!(fi.forumFlags & RS_DISTRIB_SUBSCRIBED))
|
if (!(fi.forumFlags & RS_DISTRIB_SUBSCRIBED))
|
||||||
{
|
{
|
||||||
unsubscribeButton->setEnabled(false);
|
unsubscribeButton->setEnabled(false);
|
||||||
replyButton->setEnabled(false);
|
replyButton->setEnabled(true);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -254,7 +256,10 @@ void ForumMsgItem::replyToPost()
|
|||||||
#endif
|
#endif
|
||||||
if (mParent)
|
if (mParent)
|
||||||
{
|
{
|
||||||
mParent->openMsg(FEEDHOLDER_MSG_FORUM, mForumId, mPostId);
|
//mParent->openMsg(FEEDHOLDER_MSG_FORUM, mForumId, mPostId);
|
||||||
}
|
CreateForumMsg *cfm = new CreateForumMsg(mForumId, mPostId);
|
||||||
|
cfm->show();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user