mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Disabled unfinished new Chat features.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@411 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
1024330b1d
commit
6a4e3e51f5
@ -53,13 +53,16 @@ ChatDialog::ChatDialog(QWidget *parent)
|
||||
|
||||
connect(ui.lineEdit, SIGNAL(returnPressed( ) ), this, SLOT(sendMsg( ) ));
|
||||
|
||||
connect(ui.colorChatButton, SIGNAL(clicked()), this, SLOT(setColor()));
|
||||
|
||||
connect( ui.msgSendList, SIGNAL( customContextMenuRequested( QPoint ) ), this, SLOT( msgSendListCostumPopupMenu( QPoint ) ) );
|
||||
|
||||
|
||||
#ifdef CHAT_IMPROVEMENTS
|
||||
connect(ui.colorChatButton, SIGNAL(clicked()), this, SLOT(setColor()));
|
||||
connect(ui.textboldChatButton, SIGNAL(clicked()), this, SLOT(insertBold()));
|
||||
connect(ui.textunderlineChatButton, SIGNAL(clicked()), this, SLOT(insertUnderline()));
|
||||
connect(ui.textitalicChatButton, SIGNAL(clicked()), this, SLOT(insertItalic()));
|
||||
#endif
|
||||
|
||||
|
||||
// connect(ui.msgSendList, SIGNAL(itemChanged( QTreeWidgetItem *, int ) ),
|
||||
// this, SLOT(toggleSendItem( QTreeWidgetItem *, int ) ));
|
||||
@ -242,6 +245,10 @@ void ChatDialog::insertSendList()
|
||||
item -> setCheckState(0, Qt::Unchecked);
|
||||
}
|
||||
|
||||
/* disable for the moment */
|
||||
item -> setFlags(Qt::ItemIsUserCheckable);
|
||||
item -> setCheckState(0, Qt::Checked);
|
||||
|
||||
/* add to the list */
|
||||
items.append(item);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user