Refactor saved room management and fix closing room when switching account

Relevant fixes hidden behind some refactoring:
- set m_lastRoomConfig per-user while setting the connection
- fold m_lastSpaceConfig into m_lastRoomConfig
- set current room to empty explicitely when there is no room
This commit is contained in:
Tobias Fella
2025-08-23 12:58:21 +02:00
parent ee33a70bb2
commit 306d75a9b0
2 changed files with 18 additions and 26 deletions

View File

@@ -353,7 +353,6 @@ private:
QString m_arg;
KSharedConfig::Ptr m_config;
KConfigGroup m_lastRoomConfig;
KConfigGroup m_lastSpaceConfig;
RoomListModel *m_roomListModel;
SortFilterRoomListModel *m_sortFilterRoomListModel;