mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
Migrate away from low-level SettingsStorage class
Also add `QFlags<T>` support to `SettingsStorage`. PR #15693.
This commit is contained in:
@@ -74,6 +74,7 @@
|
||||
#include <QTimer>
|
||||
|
||||
#include "base/3rdparty/expected.hpp"
|
||||
#include "base/settingvalue.h"
|
||||
|
||||
class QThread;
|
||||
|
||||
@@ -154,13 +155,13 @@ namespace RSS
|
||||
|
||||
static QPointer<Session> m_instance;
|
||||
|
||||
bool m_processingEnabled;
|
||||
CachedSettingValue<bool> m_storeProcessingEnabled;
|
||||
CachedSettingValue<int> m_storeRefreshInterval;
|
||||
CachedSettingValue<int> m_storeMaxArticlesPerFeed;
|
||||
QThread *m_workingThread;
|
||||
AsyncFileStorage *m_confFileStorage;
|
||||
AsyncFileStorage *m_dataFileStorage;
|
||||
QTimer m_refreshTimer;
|
||||
int m_refreshInterval;
|
||||
int m_maxArticlesPerFeed;
|
||||
QHash<QString, Item *> m_itemsByPath;
|
||||
QHash<QUuid, Feed *> m_feedsByUID;
|
||||
QHash<QString, Feed *> m_feedsByURL;
|
||||
|
||||
Reference in New Issue
Block a user