summaryrefslogtreecommitdiff
path: root/TelepathyQt4
diff options
context:
space:
mode:
Diffstat (limited to 'TelepathyQt4')
-rw-r--r--TelepathyQt4/account-set.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/TelepathyQt4/account-set.cpp b/TelepathyQt4/account-set.cpp
index bdb2a07a..5fbd0305 100644
--- a/TelepathyQt4/account-set.cpp
+++ b/TelepathyQt4/account-set.cpp
@@ -101,6 +101,7 @@ void AccountSet::Private::removeAccount(const Tp::AccountPtr &account)
accounts.remove(accountPath);
AccountWrapper *wrapper = wrappers.take(accountPath);
+ Q_ASSERT(wrapper->disconnect(parent));
wrapper->deleteLater();
emit parent->accountRemoved(account);