mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
- create channel now uses own createchannel widget rather than forums
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2825 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
5a98d72376
commit
564e25908e
@ -43,6 +43,7 @@
|
|||||||
#include "GenCertDialog.h"
|
#include "GenCertDialog.h"
|
||||||
#include "gui/connect/ConnectFriendWizard.h"
|
#include "gui/connect/ConnectFriendWizard.h"
|
||||||
#include "gui/forums/CreateForum.h"
|
#include "gui/forums/CreateForum.h"
|
||||||
|
#include "gui/channels/CreateChannel.h"
|
||||||
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
@ -1550,7 +1551,8 @@ void PeersDialog::on_actionCreate_New_Forum_activated()
|
|||||||
|
|
||||||
void PeersDialog::on_actionCreate_New_Channel_activated()
|
void PeersDialog::on_actionCreate_New_Channel_activated()
|
||||||
{
|
{
|
||||||
CreateForum *cf = new CreateForum(NULL, false);
|
|
||||||
|
CreateChannel *cf = new CreateChannel(NULL);
|
||||||
((MainPageStack*)this->parent())->setCurrentIndex(6); // swtich to forum view
|
((MainPageStack*)this->parent())->setCurrentIndex(6); // swtich to forum view
|
||||||
|
|
||||||
cf->setWindowTitle(tr("Create a new Channel"));
|
cf->setWindowTitle(tr("Create a new Channel"));
|
||||||
|
Loading…
Reference in New Issue
Block a user