Fix segfault when leaving certain rooms.

This commit is contained in:
Black Hat
2018-11-07 16:29:24 +08:00
parent 6e44347efd
commit 06983a506c
12 changed files with 74 additions and 86 deletions

View File

@@ -24,7 +24,7 @@ class AccountListModel : public QAbstractListModel {
void setController(Controller* value);
private:
Controller* m_controller;
Controller* m_controller = nullptr;
QVector<Connection*> m_connections;
signals: