mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-19 14:30:43 -04:00
Removed methods on RsControl for handling id's of chat and messages.
Now the user can write mail messages and two or more parallel MessageComposer's. Recompile needed. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3534 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
752495d239
commit
789ca4ff6b
7 changed files with 73 additions and 271 deletions
|
@ -1545,23 +1545,23 @@ void PeersDialog::insertSendList()
|
|||
/* to toggle the state */
|
||||
|
||||
|
||||
void PeersDialog::toggleSendItem( QTreeWidgetItem *item, int col )
|
||||
{
|
||||
#ifdef PEERS_DEBUG
|
||||
std::cerr << "ToggleSendItem()" << std::endl;
|
||||
#endif
|
||||
|
||||
/* extract id */
|
||||
std::string id = (item -> text(4)).toStdString();
|
||||
|
||||
/* get state */
|
||||
bool inChat = (Qt::Checked == item -> checkState(0)); /* alway column 0 */
|
||||
|
||||
/* call control fns */
|
||||
|
||||
rsicontrol -> SetInChat(id, inChat);
|
||||
return;
|
||||
}
|
||||
//void PeersDialog::toggleSendItem( QTreeWidgetItem *item, int col )
|
||||
//{
|
||||
// #ifdef PEERS_DEBUG
|
||||
// std::cerr << "ToggleSendItem()" << std::endl;
|
||||
// #endif
|
||||
//
|
||||
// /* extract id */
|
||||
// std::string id = (item -> text(4)).toStdString();
|
||||
//
|
||||
// /* get state */
|
||||
// bool inChat = (Qt::Checked == item -> checkState(0)); /* alway column 0 */
|
||||
//
|
||||
// /* call control fns */
|
||||
//
|
||||
// rsicontrol -> SetInChat(id, inChat);
|
||||
// return;
|
||||
//}
|
||||
|
||||
//============================================================================
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue