[network/ruqola] src/widgets/channellist: Fix update sizeHint when we change settings

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit c6ab5fcec02fb9837ab8a9cceabc3727906027de by Laurent Montel.
Committed on 06/08/2026 at 18:05.
Pushed by mlaurent into branch 'master'.

Fix update sizeHint when we change settings

M  +1    -0    src/widgets/channellist/channellistdelegate.cpp

https://invent.kde.org/network/ruqola/-/commit/c6ab5fcec02fb9837ab8a9cceabc3727906027de

diff --git a/src/widgets/channellist/channellistdelegate.cpp b/src/widgets/channellist/channellistdelegate.cpp
index 32558f2931..e777aec8cd 100644
--- a/src/widgets/channellist/channellistdelegate.cpp
+++ b/src/widgets/channellist/channellistdelegate.cpp
@@ -52,6 +52,7 @@ void ChannelListDelegate::setListDisplay(OwnUserPreferences::RoomListDisplay dis
     if (mRoomListDisplay != display) {
         mRoomListDisplay = display;
         clearAvatarCache();
+        Q_EMIT sizeHintChanged(QModelIndex());
     }
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.