summary refs log tree commit diff
path: root/src/RoomsModel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/RoomsModel.h')
-rw-r--r--src/RoomsModel.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/RoomsModel.h b/src/RoomsModel.h

index b2f4e44e..82ce7d7f 100644 --- a/src/RoomsModel.h +++ b/src/RoomsModel.h
@@ -27,13 +27,11 @@ public: int rowCount(const QModelIndex &parent = QModelIndex()) const override { (void)parent; - return (int)roomids.size(); + return (int)rooms.size(); } QVariant data(const QModelIndex &index, int role) const override; private: - std::vector<QString> roomids; - std::vector<QString> roomAliases; - std::map<QString, RoomInfo> roomInfos; + std::vector<RoomNameAlias> rooms; bool showOnlyRoomWithAliases_; };