summaryrefslogtreecommitdiff
path: root/src/gui/windows/chatwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-24 20:09:31 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-24 20:09:31 +0300
commit42531b3cf82aace768f2960f0ea6d07815274026 (patch)
tree381a6822519c63e0467f1533028825df8e9981ef /src/gui/windows/chatwindow.cpp
parentb1a5cce09fc03bf5d4ffbd36ffd24ac59675b41f (diff)
downloadmv-42531b3cf82aace768f2960f0ea6d07815274026.tar.gz
mv-42531b3cf82aace768f2960f0ea6d07815274026.tar.bz2
mv-42531b3cf82aace768f2960f0ea6d07815274026.tar.xz
mv-42531b3cf82aace768f2960f0ea6d07815274026.zip
Fix duplicating assert message created after connected to server for some seconds.
Diffstat (limited to 'src/gui/windows/chatwindow.cpp')
-rw-r--r--src/gui/windows/chatwindow.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp
index a3032de54..e29212063 100644
--- a/src/gui/windows/chatwindow.cpp
+++ b/src/gui/windows/chatwindow.cpp
@@ -2166,3 +2166,9 @@ void ChatWindow::joinRoom(const bool isJoin)
tab->setCaption(name);
}
}
+
+void ChatWindow::scheduleDelete()
+{
+ DebugMessageListener::removeListener(this);
+ Window::scheduleDelete();
+}