Use QPointer to store room in WidgetModel
This commit is contained in:
committed by
Tobias Fella
parent
2bc8c6a379
commit
44fa196a26
@@ -104,7 +104,7 @@ public:
|
|||||||
void handlePendingEvent(const Quotient::RoomEvent *event);
|
void handlePendingEvent(const Quotient::RoomEvent *event);
|
||||||
void buildJitsiIndex();
|
void buildJitsiIndex();
|
||||||
|
|
||||||
NeoChatRoom *room = nullptr;
|
QPointer<NeoChatRoom> room;
|
||||||
QMap<QString, const WidgetEvent *> state;
|
QMap<QString, const WidgetEvent *> state;
|
||||||
int jitsiIndex = -1;
|
int jitsiIndex = -1;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user