Make various models more robust against deleted rooms
This commit is contained in:
@@ -101,6 +101,6 @@ private:
|
||||
ImagePacksModel *m_model = nullptr;
|
||||
int m_index = 0;
|
||||
QList<Quotient::ImagePackEventContent::ImagePackImage> m_images;
|
||||
NeoChatRoom *m_room;
|
||||
QPointer<NeoChatRoom> m_room;
|
||||
void reloadImages();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user