summary refs log tree commit diff
path: root/include/QuickSwitcher.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/QuickSwitcher.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/QuickSwitcher.h')
-rw-r--r--include/QuickSwitcher.h5
1 files changed, 1 insertions, 4 deletions
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 <QVBoxLayout> #include <QWidget> -#include "Cache.h" #include "SuggestionsPopup.hpp" #include "TextField.h" @@ -50,7 +49,7 @@ class QuickSwitcher : public QWidget Q_OBJECT public: - QuickSwitcher(QSharedPointer<Cache> 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> cache_; };