From 564e25908eeae8fbb61b27caeb66ffd5c004301f Mon Sep 17 00:00:00 2001 From: chrisparker126 Date: Sun, 2 May 2010 11:41:23 +0000 Subject: [PATCH] - 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 --- retroshare-gui/src/gui/PeersDialog.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/retroshare-gui/src/gui/PeersDialog.cpp b/retroshare-gui/src/gui/PeersDialog.cpp index 2ea77f757..834a9f5ce 100644 --- a/retroshare-gui/src/gui/PeersDialog.cpp +++ b/retroshare-gui/src/gui/PeersDialog.cpp @@ -43,6 +43,7 @@ #include "GenCertDialog.h" #include "gui/connect/ConnectFriendWizard.h" #include "gui/forums/CreateForum.h" +#include "gui/channels/CreateChannel.h" #include #include @@ -1550,7 +1551,8 @@ void PeersDialog::on_actionCreate_New_Forum_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 cf->setWindowTitle(tr("Create a new Channel")); @@ -1559,7 +1561,7 @@ void PeersDialog::on_actionCreate_New_Channel_activated() "color:#32CD32;\">%1"); cf->ui.textlabelcreatforums->setText( titleStr.arg( tr("New Channel") ) ) ; cf->show(); - + } /** Loads own personal status */ @@ -1823,4 +1825,4 @@ void PeersDialog::setCurrentFileName(const QString &fileName) ui.msgText->document()->setModified(false); setWindowModified(false); -} \ No newline at end of file +}