Fixed crash bug described by Cranken in #165

This commit is contained in:
Rasmus Karlsson
2017-12-28 16:26:35 +01:00
parent ece0482502
commit c9c2aa6dce
+4
View File
@@ -89,6 +89,10 @@ ChannelView::~ChannelView()
{
QObject::disconnect(&SettingsManager::getInstance(), &SettingsManager::wordTypeMaskChanged,
this, &ChannelView::wordTypeMaskChanged);
this->messageAppendedConnection.disconnect();
this->messageRemovedConnection.disconnect();
this->repaintGifsConnection.disconnect();
this->layoutConnection.disconnect();
}
void ChannelView::queueUpdate()