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 +}