mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-19 14:30:43 -04:00
Added CreateGroup Dialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3519 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
1352b27e7a
commit
ad9f981ab0
10 changed files with 322 additions and 2 deletions
|
@ -53,6 +53,7 @@
|
|||
#include "connect/ConnectFriendWizard.h"
|
||||
#include "forums/CreateForum.h"
|
||||
#include "channels/CreateChannel.h"
|
||||
#include "groups/CreateGroup.h"
|
||||
#include "feeds/AttachFileItem.h"
|
||||
#include "im_history/ImHistoryBrowser.h"
|
||||
#include "common/RSTreeWidgetItem.h"
|
||||
|
@ -189,6 +190,8 @@ PeersDialog::PeersDialog(QWidget *parent)
|
|||
|
||||
QMenu *menu = new QMenu();
|
||||
menu->addAction(ui.actionAdd_Friend);
|
||||
menu->addAction(ui.actionAdd_Group);
|
||||
|
||||
menu->addSeparator();
|
||||
menu->addAction(ui.actionCreate_New_Forum);
|
||||
#ifndef RS_RELEASE_VERSION
|
||||
|
@ -1712,3 +1715,9 @@ void PeersDialog::on_actionMessageHistory_triggered()
|
|||
ImHistoryBrowser imBrowser(false, historyKeeper, ui.lineEdit, this);
|
||||
imBrowser.exec();
|
||||
}
|
||||
|
||||
void PeersDialog::on_actionAdd_Group_activated()
|
||||
{
|
||||
CreateGroup createGrpDialog (this);
|
||||
createGrpDialog.exec();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue