/***************************************************************************
- * Copyright (C) 2005-2010 by the Quassel Project *
+ * Copyright (C) 2005-2012 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
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();
}