X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fclientignorelistmanager.cpp;h=e54eeb760cf8619d428931b433b9bff6d5995b2d;hb=cb5a11622fe175661f7e1a0a1d545444a4ac801b;hp=f04296904576a34f2e445e2cd6f02768eddda196;hpb=27302bba72a29977e81b9a0b2d8cde3a62ebc818;p=quassel.git 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())); }