mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-25 06:40:58 -04:00
Fixed crash when closing a chat window.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4849 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
5a5c0264d0
commit
a3a0690cb4
6 changed files with 11 additions and 8 deletions
|
@ -44,8 +44,6 @@ ChatDialog::ChatDialog(QWidget *parent, Qt::WFlags flags) :
|
|||
|
||||
ChatDialog::~ChatDialog()
|
||||
{
|
||||
emit dialogClose(this);
|
||||
|
||||
std::map<std::string, ChatDialog *>::iterator it;
|
||||
if (chatDialogs.end() != (it = chatDialogs.find(getPeerId()))) {
|
||||
chatDialogs.erase(it);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue