Fix crash when logging out active connection
This commit is contained in:
committed by
Tobias Fella
parent
44fa196a26
commit
889b7dd2e6
@@ -354,7 +354,9 @@ void RoomManager::loadInitialRoom()
|
||||
|
||||
void RoomManager::openRoomForActiveConnection()
|
||||
{
|
||||
Q_ASSERT(m_connection);
|
||||
if (!m_connection) {
|
||||
return;
|
||||
}
|
||||
|
||||
auto lastSpace = m_lastRoomConfig.readEntry(u"lastSpace"_s, QString());
|
||||
if (lastSpace == u"Home"_s) {
|
||||
|
||||
Reference in New Issue
Block a user