X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fchatline.cpp;h=1351ee5ba0561ebc0a4543c2fa2e288f62e3df58;hb=1d145922198e7e5d727c9bca8a92f95cf40d02ef;hp=ce208beadf16eb04d816bb5636319dffad96f777;hpb=a3aaabf6254c8c5439af8982cc613c4ced3f50ed;p=quassel.git diff --git a/src/qtui/chatline.cpp b/src/qtui/chatline.cpp index ce208bea..1351ee5b 100644 --- a/src/qtui/chatline.cpp +++ b/src/qtui/chatline.cpp @@ -86,7 +86,7 @@ void ChatLine::setSecondColumn(const qreal &senderWidth, const qreal &contentsWi // contentsItem doesn't need a geom change as it's Pos is changed (ensured by void ChatScene::firstHandlePositionChanged(qreal xpos)) qreal height = _contentsItem.setGeometryByWidth(contentsWidth); linePos -= height; - bool needGeometryChange = linePos == pos().y() && height != _height; + bool needGeometryChange = linePos == pos().y(); if(needGeometryChange) { _timestampItem.prepareGeometryChange(); @@ -97,8 +97,8 @@ void ChatLine::setSecondColumn(const qreal &senderWidth, const qreal &contentsWi _contentsItem.setPos(contentsPos); - _timestampItem.clearLayout(); _senderItem.clearLayout(); + _contentsItem.clearLayout(); if(needGeometryChange) prepareGeometryChange();