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/QuickSwitcher.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include/QuickSwitcher.h') diff --git a/include/QuickSwitcher.h b/include/QuickSwitcher.h index ce3c4f25..254d7a16 100644 --- a/include/QuickSwitcher.h +++ b/include/QuickSwitcher.h @@ -22,7 +22,6 @@ #include #include -#include "Cache.h" #include "SuggestionsPopup.hpp" #include "TextField.h" @@ -50,7 +49,7 @@ class QuickSwitcher : public QWidget Q_OBJECT public: - QuickSwitcher(QSharedPointer cache, QWidget *parent = nullptr); + QuickSwitcher(QWidget *parent = nullptr); signals: void closing(); @@ -77,6 +76,4 @@ private: //! Autocomplete popup box with the room suggestions. SuggestionsPopup popup_; - //! Cache client for room quering. - QSharedPointer cache_; }; -- cgit 1.5.1