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:
thunder2 2012-01-26 21:30:57 +00:00
parent 5a5c0264d0
commit a3a0690cb4
6 changed files with 11 additions and 8 deletions

View file

@ -71,6 +71,8 @@ void ChatTabWidget::tabClose(int tab)
if (dialog) {
if (dialog->canClose()) {
removeDialog(dialog);
emit tabClosed(dialog);
dialog->deleteLater();
}
}