Init sync and listmodel function.

This commit is contained in:
Black Hat
2018-02-28 21:11:42 +08:00
parent a4b00f823e
commit c3367543bf
12 changed files with 143 additions and 124 deletions

View File

@@ -29,7 +29,7 @@ public:
// All the non-Q_INVOKABLE functions.
// All the Q_PROPERTYs.
RoomListModel *roomListModel = new RoomListModel(this);
RoomListModel *roomListModel = new RoomListModel();
RoomListModel* getRoomListModel() { return roomListModel; }
bool isLogin = false;