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/TextInputWidget.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include/TextInputWidget.h') diff --git a/include/TextInputWidget.h b/include/TextInputWidget.h index 1f122504..c679b9b2 100644 --- a/include/TextInputWidget.h +++ b/include/TextInputWidget.h @@ -36,8 +36,6 @@ #include "emoji/PickButton.h" -class Cache; - namespace dialogs { class PreviewUploadOverlay; } @@ -131,7 +129,6 @@ public: QColor borderColor() const { return borderColor_; } void setBorderColor(QColor &color) { borderColor_ = color; } - void setCache(QSharedPointer cache) { cache_ = cache; } public slots: void openFileSelection(); @@ -172,7 +169,5 @@ private: FlatButton *sendMessageBtn_; emoji::PickButton *emojiBtn_; - QSharedPointer cache_; - QColor borderColor_; }; -- cgit 1.5.1