Use QPointer to store room in WidgetModel

This commit is contained in:
Tobias Fella
2026-01-19 11:45:20 +01:00
committed by Tobias Fella
parent 2bc8c6a379
commit 44fa196a26

View File

@@ -104,7 +104,7 @@ public:
void handlePendingEvent(const Quotient::RoomEvent *event);
void buildJitsiIndex();
NeoChatRoom *room = nullptr;
QPointer<NeoChatRoom> room;
QMap<QString, const WidgetEvent *> state;
int jitsiIndex = -1;
};