summary refs log tree commit diff
path: root/include/RoomList.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-05-08 18:43:56 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-05-08 18:43:56 +0300
commit4c4ea557b344b035507652cfbc3b616904f958e9 (patch)
treee8e610bfdaebb0ffb3a472f89b699bc3f65852b8 /include/RoomList.h
parentRemove the pseudo deb & rpm packages from releases (diff)
downloadnheko-4c4ea557b344b035507652cfbc3b616904f958e9.tar.xz
Replace shared pointers of MatrixClient with a single instance
Diffstat (limited to 'include/RoomList.h')
-rw-r--r--include/RoomList.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/RoomList.h b/include/RoomList.h

index bdfb7218..202e075c 100644 --- a/include/RoomList.h +++ b/include/RoomList.h
@@ -26,7 +26,6 @@ #include <mtx.hpp> class LeaveRoomDialog; -class MatrixClient; class OverlayModal; class RoomInfoListItem; class Sync; @@ -40,9 +39,7 @@ class RoomList : public QWidget Q_OBJECT public: - RoomList(QSharedPointer<MatrixClient> client, - QSharedPointer<UserSettings> userSettings, - QWidget *parent = 0); + RoomList(QSharedPointer<UserSettings> userSettings, QWidget *parent = 0); void setCache(QSharedPointer<Cache> cache) { cache_ = cache; } void initialize(const QMap<QString, RoomInfo> &info); @@ -105,7 +102,6 @@ private: //! Which rooms to include in the room list. std::vector<QString> roomFilter_; - QSharedPointer<MatrixClient> client_; QSharedPointer<Cache> cache_; QSharedPointer<UserSettings> userSettings_;