mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 05:08:05 -06:00
Refactor SettingsStorage implementation
Remove redundant fragmentation of logic. PR #17354.
This commit is contained in:
committed by
GitHub
parent
437ddd3f76
commit
d3e7e8a630
@@ -116,9 +116,12 @@ public slots:
|
||||
private:
|
||||
QVariant loadValueImpl(const QString &key, const QVariant &defaultValue = {}) const;
|
||||
void storeValueImpl(const QString &key, const QVariant &value);
|
||||
void readNativeSettings();
|
||||
bool writeNativeSettings() const;
|
||||
|
||||
static SettingsStorage *m_instance;
|
||||
|
||||
const QString m_nativeSettingsName;
|
||||
bool m_dirty = false;
|
||||
QVariantHash m_data;
|
||||
QTimer m_timer;
|
||||
|
||||
Reference in New Issue
Block a user