Don't use shared pointers for cache
This commit is contained in:
parent
4c4ea557b3
commit
ebed87ea57
17 changed files with 86 additions and 96 deletions
|
|
@ -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_ = cache; }
|
||||
|
||||
public slots:
|
||||
void openFileSelection();
|
||||
|
|
@ -172,7 +169,5 @@ private:
|
|||
FlatButton *sendMessageBtn_;
|
||||
emoji::PickButton *emojiBtn_;
|
||||
|
||||
QSharedPointer<Cache> cache_;
|
||||
|
||||
QColor borderColor_;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue