From 3a153509d27882e29456ffc7bf67d9cf32d86d52 Mon Sep 17 00:00:00 2001
From: Tobias Markmann <tm@ayena.de>
Date: Mon, 19 Oct 2015 18:16:20 +0200
Subject: Add missing disconnect() from signal in QtChatWindow

Test-Information:

Ran system unit tests on OS X 10.10.5.

Change-Id: Ibd1caa23e06463c9992701590cc04ca1157d6421

diff --git a/Swift/QtUI/QtChatWindow.cpp b/Swift/QtUI/QtChatWindow.cpp
index 3818991..d58393b 100644
--- a/Swift/QtUI/QtChatWindow.cpp
+++ b/Swift/QtUI/QtChatWindow.cpp
@@ -188,6 +188,7 @@ QtChatWindow::QtChatWindow(const QString& contact, QtChatTheme* theme, UIEventSt
 }
 
 QtChatWindow::~QtChatWindow() {
+	settings_->onSettingChanged.disconnect(boost::bind(&QtChatWindow::handleSettingChanged, this, _1));
 	if (mucConfigurationWindow_) {
 		delete mucConfigurationWindow_.data();
 	}
-- 
cgit v0.10.2-6-g49f6