mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-19 14:03:20 +02:00
Fix odd resizing of chat messages
When calling updateGeometry on the message labels the layout system seems to resize the widgets in weird ways. There may be a different way to keep it from doing this.
This commit is contained in:
parent
ff3ebd1eda
commit
37f9f47488
1 changed files with 0 additions and 1 deletions
|
@ -251,7 +251,6 @@ void ChatWindow::messageReceived(const QXmppMessage& message) {
|
|||
Application::processEvents();
|
||||
QScrollBar* verticalScrollBar = ui->messagesScrollArea->verticalScrollBar();
|
||||
verticalScrollBar->setSliderPosition(verticalScrollBar->maximum());
|
||||
messageLabel->updateGeometry();
|
||||
|
||||
++numMessagesAfterLastTimeStamp;
|
||||
if (message.stamp().isValid()) {
|
||||
|
|
Loading…
Reference in a new issue