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/RoomList.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include/RoomList.h') 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, QWidget *parent = 0); - void setCache(QSharedPointer cache) { cache_ = cache; } void initialize(const QMap &info); void sync(const std::map &info); @@ -102,7 +100,6 @@ private: //! Which rooms to include in the room list. std::vector roomFilter_; - QSharedPointer cache_; QSharedPointer userSettings_; bool isSortPending_ = false; -- cgit 1.5.1