1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Merge pull request #5827

Mick Sayson (1):
      fix(chatlog): Prepare geometry changes on chatline proxy
This commit is contained in:
Anthony Bilinski 2019-09-14 12:38:15 -07:00
commit 31f1c746b6
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

@ -78,6 +78,7 @@ QWidget* ChatLineContentProxy::getWidget() const
void ChatLineContentProxy::setWidth(qreal width) void ChatLineContentProxy::setWidth(qreal width)
{ {
prepareGeometryChange();
proxy->widget()->setFixedWidth(qMax(static_cast<int>(width * widthPercent), widthMin)); proxy->widget()->setFixedWidth(qMax(static_cast<int>(width * widthPercent), widthMin));
} }