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 20:30:09 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-05-08 20:30:09 +0300
commitebed87ea5730f9a49d6cf6d03a2a3a8ef7e2aa52 (patch)
treeb022e968f92dee9c52e73b07de7fadd304cc5299 /include/RoomList.h
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/RoomList.h')
-rw-r--r--include/RoomList.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/RoomList.h b/include/RoomList.h

index 202e075c..98d9443e 100644 --- a/include/RoomList.h +++ b/include/RoomList.h
@@ -30,7 +30,6 @@ class OverlayModal; class RoomInfoListItem; class Sync; class UserSettings; -class Cache; struct DescInfo; struct RoomInfo; @@ -41,7 +40,6 @@ class RoomList : public QWidget public: RoomList(QSharedPointer<UserSettings> userSettings, QWidget *parent = 0); - void setCache(QSharedPointer<Cache> cache) { cache_ = cache; } void initialize(const QMap<QString, RoomInfo> &info); void sync(const std::map<QString, RoomInfo> &info); @@ -102,7 +100,6 @@ private: //! Which rooms to include in the room list. std::vector<QString> roomFilter_; - QSharedPointer<Cache> cache_; QSharedPointer<UserSettings> userSettings_; bool isSortPending_ = false;