X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclient.cpp;fp=src%2Fclient%2Fclient.cpp;h=87fa59f82110179ffa66eddba478c7bf6555a39d;hp=c20fa8b6afc81a0599c31d5e1d77ee56361024c3;hb=4c4fe2b514fc7ecf3186202d73b3b5ff8847763f;hpb=ee8b9f55860e340c1600188fddcfd557c7489f66 diff --git a/src/client/client.cpp b/src/client/client.cpp index c20fa8b6..87fa59f8 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -168,6 +168,10 @@ void Client::init() connect(this, SIGNAL(connected()), mainUi(), SLOT(connectedToCore())); connect(this, SIGNAL(disconnected()), mainUi(), SLOT(disconnectedFromCore())); + // Listen to network removed events + connect(this, SIGNAL(networkRemoved(NetworkId)), + _messageProcessor, SLOT(networkRemoved(NetworkId))); + // attach backlog manager p->synchronize(backlogManager()); connect(backlogManager(), SIGNAL(messagesReceived(BufferId, int)), _messageModel, SLOT(messagesReceived(BufferId, int)));