summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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
@@ -186,10 +186,11 @@ QtChatWindow::QtChatWindow(const QString& contact, QtChatTheme* theme, UIEventSt
186 messageLog_->showEmoticons(settings_->getSetting(QtUISettingConstants::SHOW_EMOTICONS)); 186 messageLog_->showEmoticons(settings_->getSetting(QtUISettingConstants::SHOW_EMOTICONS));
187 setMinimumSize(100, 100); 187 setMinimumSize(100, 100);
188} 188}
189 189
190QtChatWindow::~QtChatWindow() { 190QtChatWindow::~QtChatWindow() {
191 settings_->onSettingChanged.disconnect(boost::bind(&QtChatWindow::handleSettingChanged, this, _1));
191 if (mucConfigurationWindow_) { 192 if (mucConfigurationWindow_) {
192 delete mucConfigurationWindow_.data(); 193 delete mucConfigurationWindow_.data();
193 } 194 }
194} 195}
195 196