if(_scene) {
disconnect(_scene, 0, this, 0);
+ disconnect(Client::messageModel(), 0, this, 0);
qDeleteAll(_highlightItems);
_highlightItems.clear();
}
connect(_scene, SIGNAL(destroyed()), this, SLOT(sceneDestroyed()));
connect(_scene, SIGNAL(layoutChanged()), this, SLOT(repositionHighlights()));
+ connect(Client::messageModel(), SIGNAL(finishedBacklogFetch(BufferId)), this, SLOT(updateHighlights()));
updateHighlights();
}