mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-05 15:45:04 -04:00
Enabled (and implemented) response to message
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@717 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
fffe6d6d97
commit
4e53b5fa95
3 changed files with 43 additions and 1 deletions
|
@ -573,6 +573,16 @@ void ChanMsgDialog::cancelMessage()
|
|||
* Chan or Msg Dialog.
|
||||
*/
|
||||
|
||||
void ChanMsgDialog::addRecipient(std::string id)
|
||||
{
|
||||
QTreeWidget *sendWidget = ui.msgSendList;
|
||||
|
||||
for(int i=0;i<sendWidget->topLevelItemCount();++i)
|
||||
if(sendWidget->topLevelItem(i)->text(1).toStdString() == id)
|
||||
sendWidget->topLevelItem(i)->setCheckState(0,Qt::Checked) ;
|
||||
else
|
||||
sendWidget->topLevelItem(i)->setCheckState(0,Qt::Unchecked) ;
|
||||
}
|
||||
|
||||
/* First the Msg (People) ones */
|
||||
void ChanMsgDialog::togglePersonItem( QTreeWidgetItem *item, int col )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue