mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 19:12:28 -04:00
Added posted comment creation
contextMnurequested does not seem to be working....may have to use an old fashioned non-derived treewidget. git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5894 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
744a78b140
commit
8cef4da896
18 changed files with 357 additions and 202 deletions
|
@ -49,7 +49,7 @@ PostedDialog::PostedDialog(QWidget *parent)
|
|||
{
|
||||
ui.setupUi(this);
|
||||
|
||||
mPostedList = new PostedListDialog(NULL);
|
||||
mPostedList = new PostedListDialog(this, NULL);
|
||||
mPostedComments = new PostedComments(NULL);
|
||||
|
||||
QString list("List");
|
||||
|
@ -60,9 +60,10 @@ PostedDialog::PostedDialog(QWidget *parent)
|
|||
connect(mPostedList, SIGNAL(loadComments( std::string ) ), mPostedComments, SLOT(loadComments( std::string ) ) );
|
||||
}
|
||||
|
||||
void PostedDialog::commentLoad(const RsGxsMessageId &msgId)
|
||||
void PostedDialog::commentLoad(const RsPostedPost &post)
|
||||
{
|
||||
mPostedComments->loadComments(msgId);
|
||||
mPostedComments->loadComments(post);
|
||||
ui.tabWidget->setCurrentWidget(mPostedComments);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue