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
|
|
@ -69,7 +69,6 @@ public:
|
|||
static ChatPage *instance() { return instance_; }
|
||||
|
||||
QSharedPointer<UserSettings> userSettings() { return userSettings_; }
|
||||
QSharedPointer<Cache> cache() { return cache_; }
|
||||
void deleteConfigs();
|
||||
|
||||
signals:
|
||||
|
|
@ -183,9 +182,6 @@ private:
|
|||
|
||||
// Global user settings.
|
||||
QSharedPointer<UserSettings> userSettings_;
|
||||
|
||||
// LMDB wrapper.
|
||||
QSharedPointer<Cache> cache_;
|
||||
};
|
||||
|
||||
template<class Collection>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue