Removed the + button in channels and forums and moved the post button to the right side.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4205 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2011-05-16 21:24:16 +00:00
parent a8fdcaacb4
commit 7b4f45b686
4 changed files with 115 additions and 192 deletions

View file

@ -57,7 +57,7 @@ ChannelFeed::ChannelFeed(QWidget *parent)
/* Invoke the Qt Designer generated object setup routine */
setupUi(this);
connect(actionCreate_Channel, SIGNAL(triggered()), this, SLOT(createChannel()));
connect(newChannelButton, SIGNAL(clicked()), this, SLOT(createChannel()));
connect(postButton, SIGNAL(clicked()), this, SLOT(createMsg()));
connect(subscribeButton, SIGNAL( clicked( void ) ), this, SLOT( subscribeChannel ( void ) ) );
connect(unsubscribeButton, SIGNAL( clicked( void ) ), this, SLOT( unsubscribeChannel ( void ) ) );
@ -93,12 +93,6 @@ ChannelFeed::ChannelFeed(QWidget *parent)
nameLabel->setFont(QFont("MS SANS SERIF", 22));
nameLabel->setMinimumWidth(20);
// Setup Channel Menu:
QMenu *channelmenu = new QMenu();
channelmenu->addAction(actionCreate_Channel);
channelmenu->addSeparator();
channelpushButton->setMenu(channelmenu);
/* load settings */
processSettings(true);