summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2015-10-19 16:16:20 (GMT)
committerSwift Review <review@swift.im>2015-10-30 14:22:56 (GMT)
commit3a153509d27882e29456ffc7bf67d9cf32d86d52 (patch)
treeafcfcc18fd37f224590b0f2836bc9e471321c181 /Swift/QtUI
parent4a84a2570c5e8f2a282138c74448117ecd0a8939 (diff)
downloadswift-3a153509d27882e29456ffc7bf67d9cf32d86d52.zip
swift-3a153509d27882e29456ffc7bf67d9cf32d86d52.tar.bz2
Add missing disconnect() from signal in QtChatWindow
Test-Information: Ran system unit tests on OS X 10.10.5. Change-Id: Ibd1caa23e06463c9992701590cc04ca1157d6421
Diffstat (limited to 'Swift/QtUI')
-rw-r--r--Swift/QtUI/QtChatWindow.cpp1
1 files changed, 1 insertions, 0 deletions
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();
}