summary refs log tree commit diff
path: root/include/dialogs/MemberList.hpp
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-05-08 20:30:09 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-05-08 20:30:09 +0300
commitebed87ea5730f9a49d6cf6d03a2a3a8ef7e2aa52 (patch)
treeb022e968f92dee9c52e73b07de7fadd304cc5299 /include/dialogs/MemberList.hpp
parentReplace shared pointers of MatrixClient with a single instance (diff)
downloadnheko-ebed87ea5730f9a49d6cf6d03a2a3a8ef7e2aa52.tar.xz
Don't use shared pointers for cache
Diffstat (limited to 'include/dialogs/MemberList.hpp')
-rw-r--r--include/dialogs/MemberList.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/dialogs/MemberList.hpp b/include/dialogs/MemberList.hpp

index bdc11486..9c3dc5dc 100644 --- a/include/dialogs/MemberList.hpp +++ b/include/dialogs/MemberList.hpp
@@ -4,7 +4,6 @@ #include <QListWidget> class Avatar; -class Cache; class FlatButton; class QHBoxLayout; class QLabel; @@ -38,7 +37,7 @@ class MemberList : public QFrame { Q_OBJECT public: - MemberList(const QString &room_id, QSharedPointer<Cache> cache, QWidget *parent = nullptr); + MemberList(const QString &room_id, QWidget *parent = nullptr); public slots: void addUsers(const std::vector<RoomMember> &users); @@ -57,7 +56,6 @@ private: QString room_id_; QLabel *topLabel_; QListWidget *list_; - QSharedPointer<Cache> cache_; FlatButton *moreBtn_; }; } // dialogs