X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatline.cpp;h=278c1de4676e628b3917ffb504ac6238599e5be4;hp=276c73eda52bc73afe36d137ff139ea8d6386408;hb=86d792a90e2868635170a1092ac7a9278a84ef71;hpb=236dda81632fa792e788d45b0f4f31b973823f7f diff --git a/src/qtui/chatline.cpp b/src/qtui/chatline.cpp index 276c73ed..278c1de4 100644 --- a/src/qtui/chatline.cpp +++ b/src/qtui/chatline.cpp @@ -75,9 +75,6 @@ void ChatLine::setFirstColumn(const qreal ×tampWidth, const qreal &senderWi // 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! @@ -97,9 +94,6 @@ void ChatLine::setSecondColumn(const qreal &senderWidth, const qreal &contentsWi _contentsItem.setPos(contentsPos); - _senderItem.clearLayout(); - _contentsItem.clearLayout(); - if(needGeometryChange) prepareGeometryChange(); @@ -119,7 +113,6 @@ void ChatLine::setGeometryByWidth(const qreal &width, const qreal &contentsWidth } _timestampItem.setHeight(height); _senderItem.setHeight(height); - _contentsItem.clearLayout(); if(needGeometryChange) prepareGeometryChange();