From ebed87ea5730f9a49d6cf6d03a2a3a8ef7e2aa52 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Tue, 8 May 2018 20:30:09 +0300 Subject: Don't use shared pointers for cache --- include/dialogs/MemberList.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/dialogs/MemberList.hpp') 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 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, QWidget *parent = nullptr); + MemberList(const QString &room_id, QWidget *parent = nullptr); public slots: void addUsers(const std::vector &users); @@ -57,7 +56,6 @@ private: QString room_id_; QLabel *topLabel_; QListWidget *list_; - QSharedPointer cache_; FlatButton *moreBtn_; }; } // dialogs -- cgit 1.5.1