Make various models more robust against deleted rooms
This commit is contained in:
@@ -76,7 +76,7 @@ Q_SIGNALS:
|
||||
void eventTypeChanged();
|
||||
|
||||
private:
|
||||
NeoChatRoom *m_room = nullptr;
|
||||
QPointer<NeoChatRoom> m_room;
|
||||
QString m_eventType;
|
||||
QVector<const Quotient::StateEvent *> m_stateKeys;
|
||||
void loadState();
|
||||
|
||||
Reference in New Issue
Block a user