summaryrefslogtreecommitdiff
path: root/src/gui/windows/chatwindow.cpp
diff options
context:
space:
mode:
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();
+}