mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-24 00:31:32 -04:00
* Cleaned up more debug output.
* Fixed Popup Chats with new Peer Dialog. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@645 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d36b15d526
commit
67a27744f8
8 changed files with 65 additions and 41 deletions
|
@ -145,7 +145,7 @@ void ChatDialog::insertChat()
|
|||
for(it = newchat.begin(); it != newchat.end(); it++)
|
||||
{
|
||||
std::string msg(it->msg.begin(), it->msg.end());
|
||||
std::cerr << "ChatDialog::insertChat(): " << msg << std::endl;
|
||||
//std::cerr << "ChatDialog::insertChat(): " << msg << std::endl;
|
||||
|
||||
/* are they private? */
|
||||
if (it->chatflags & RS_CHAT_PRIVATE)
|
||||
|
@ -219,7 +219,7 @@ void ChatDialog::sendMsg()
|
|||
ci.chatflags = RS_CHAT_PUBLIC;
|
||||
|
||||
std::string msg(ci.msg.begin(), ci.msg.end());
|
||||
std::cerr << "ChatDialog::sendMsg(): " << msg << std::endl;
|
||||
//std::cerr << "ChatDialog::sendMsg(): " << msg << std::endl;
|
||||
|
||||
rsMsgs -> ChatSend(ci);
|
||||
ui.lineEdit->clear();
|
||||
|
@ -301,7 +301,7 @@ void ChatDialog::insertSendList()
|
|||
|
||||
void ChatDialog::toggleSendItem( QTreeWidgetItem *item, int col )
|
||||
{
|
||||
std::cerr << "ToggleSendItem()" << std::endl;
|
||||
//std::cerr << "ToggleSendItem()" << std::endl;
|
||||
|
||||
/* extract id */
|
||||
std::string id = (item -> text(4)).toStdString();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue