/***************************************************************************
- * Copyright (C) 2005-08 by the Quassel Project *
+ * Copyright (C) 2005-09 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
// senderItem doesn't need a geom change as it's Pos is changed (ensured by void ChatScene::firstHandlePositionChanged(qreal xpos))
_senderItem.setGeometry(senderWidth, _height);
_senderItem.setPos(senderPos);
-
- _timestampItem.clearLayout();
- _senderItem.clearLayout();
}
// NOTE: contentsPos is in ChatLines coordinate system!
_contentsItem.setPos(contentsPos);
- _senderItem.clearLayout();
- _contentsItem.clearLayout();
-
if(needGeometryChange)
prepareGeometryChange();
}
_timestampItem.setHeight(height);
_senderItem.setHeight(height);
- _contentsItem.clearLayout();
if(needGeometryChange)
prepareGeometryChange();
// don't show the marker if we wrote that new line
if(!(flags & Message::Self)) {
BufferId bufferId = BufferId(chatScene()->idString().toInt());
- MsgId lastSeenMsgId = Client::networkModel()->lastSeenMsgId(bufferId);
+ MsgId lastSeenMsgId = Client::networkModel()->lastSeenMarkerMsgId(bufferId);
if(lastSeenMsgId < myMsgId && lastSeenMsgId >= prevMsgId) {
QtUiStyleSettings s("Colors");
QLinearGradient gradient(0, 0, 0, contentsItem().fontMetrics()->lineSpacing());