X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclientignorelistmanager.cpp;h=e54eeb760cf8619d428931b433b9bff6d5995b2d;hp=f04296904576a34f2e445e2cd6f02768eddda196;hb=eabf97d25da5af06033807c2697fd687fc48d2e7;hpb=27302bba72a29977e81b9a0b2d8cde3a62ebc818 diff --git a/src/client/clientignorelistmanager.cpp b/src/client/clientignorelistmanager.cpp index f0429690..e54eeb76 100644 --- a/src/client/clientignorelistmanager.cpp +++ b/src/client/clientignorelistmanager.cpp @@ -20,13 +20,10 @@ #include "clientignorelistmanager.h" +INIT_SYNCABLE_OBJECT(ClientIgnoreListManager) + ClientIgnoreListManager::ClientIgnoreListManager(QObject *parent) : IgnoreListManager(parent) { - connect(this, SIGNAL(updated(const QVariantMap&)), this, SLOT(ignoreListUpdated(const QVariantMap&))); -} - -void ClientIgnoreListManager::ignoreListUpdated(const QVariantMap &newMap) { - if(newMap != initIgnoreList()) - emit ignoreListChanged(); + connect(this, SIGNAL(updated()), SIGNAL(ignoreListChanged())); }