X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclient.cpp;h=b0be2a3d52895e595cbdcd4fa0348c650cc56a6e;hp=b17fa28ae0fc8a230984b02b31aea896264e8b9d;hb=48189e18131e2366eb2790b37f3b6412292f2d6c;hpb=0d49f7e83bd1055711e66aa880f3a0d62f7eefc9 diff --git a/src/client/client.cpp b/src/client/client.cpp index b17fa28a..b0be2a3d 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -122,6 +122,9 @@ void Client::init() { connect(this, SIGNAL(connected()), mainUi, SLOT(connectedToCore())); connect(this, SIGNAL(disconnected()), mainUi, SLOT(disconnectedFromCore())); + // attach backlog manager + p->synchronize(backlogManager()); + connect(backlogManager(), SIGNAL(messagesReceived(BufferId, int)), _messageModel, SLOT(messagesReceived(BufferId, int))); } /*** public static methods ***/ @@ -274,9 +277,6 @@ void Client::setSyncedToCore() { connect(bufferSyncer(), SIGNAL(bufferRenamed(BufferId, QString)), this, SLOT(bufferRenamed(BufferId, QString))); signalProxy()->synchronize(bufferSyncer()); - // attach backlog manager - signalProxy()->synchronize(backlogManager()); - // create a new BufferViewManager _bufferViewManager = new BufferViewManager(signalProxy(), this);