SpaceChildrenModel: Handle space being deleted

This commit is contained in:
Tobias Fella
2024-03-28 16:40:30 +01:00
parent 87d50125ab
commit 75f069cb7d
2 changed files with 12 additions and 4 deletions

View File

@@ -131,7 +131,7 @@ Q_SIGNALS:
void loadingChanged();
private:
NeoChatRoom *m_space = nullptr;
QPointer<NeoChatRoom> m_space;
SpaceTreeItem *m_rootItem;
bool m_loading = false;