From d7668288cc3567a8dc4a8910936a32031e6d8228 Mon Sep 17 00:00:00 2001 From: Julien Wadel Date: Fri, 17 Sep 2021 10:05:20 +0200 Subject: [PATCH] Avoid reloading chat on single new event --- linphone-app/src/components/chat-room/ChatRoomModel.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/linphone-app/src/components/chat-room/ChatRoomModel.cpp b/linphone-app/src/components/chat-room/ChatRoomModel.cpp index e1d4a0308..b4aeed58b 100644 --- a/linphone-app/src/components/chat-room/ChatRoomModel.cpp +++ b/linphone-app/src/components/chat-room/ChatRoomModel.cpp @@ -871,7 +871,6 @@ void ChatRoomModel::insertCall (const std::shared_ptr &callLo endInsertRows(); } } - emit layoutChanged(); updateLastUpdateTime(); } } @@ -911,7 +910,6 @@ void ChatRoomModel::insertMessageAtEnd (const std::shared_ptr &eve beginInsertRows(QModelIndex(), row, row); mEntries << model; endInsertRows(); - emit layoutChanged(); } } }