summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2010-12-17 13:40:26 -0200
committerAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2010-12-17 13:41:03 -0200
commit9b9d19ecb985a0dfb3530a559008811e8c5e3cf8 (patch)
tree8b8d85f9bfe7d0b6633d2771b705f870b62a065b
parentade2be7e54e052fce76197911fc6558bf0a23d6f (diff)
ContactManager: Remove dubious/wrong code to check if setUseFallbackContactList is called more than once.
-rw-r--r--TelepathyQt4/contact-manager.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/TelepathyQt4/contact-manager.cpp b/TelepathyQt4/contact-manager.cpp
index 7526ce18..c8ea21a7 100644
--- a/TelepathyQt4/contact-manager.cpp
+++ b/TelepathyQt4/contact-manager.cpp
@@ -2042,12 +2042,6 @@ ContactPtr ContactManager::ensureContact(const ReferencedHandles &handle,
void ContactManager::setUseFallbackContactList(bool value)
{
- static bool contactListInitialized = false;
- Q_ASSERT(contactListInitialized == false);
- if (contactListInitialized) {
- contactListInitialized = true;
- }
-
mPriv->fallbackContactList = value;
}