mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-09 17:12:31 -06:00
Add a thin layer around SettingsStorage class
This new layer would be handy for saving GUI widget states as they don't need the value cached and they store/load rarely.
This commit is contained in:
@@ -43,7 +43,7 @@ class SearchHandler;
|
||||
class SearchSortModel;
|
||||
struct SearchResult;
|
||||
|
||||
template <typename T> class CachedSettingValue;
|
||||
template <typename T> class SettingValue;
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
@@ -117,7 +117,7 @@ private:
|
||||
void copyField(int column) const;
|
||||
|
||||
static QString statusText(Status st);
|
||||
static CachedSettingValue<NameFilteringMode> &nameFilteringModeSetting();
|
||||
static SettingValue<NameFilteringMode> &nameFilteringModeSetting();
|
||||
|
||||
Ui::SearchJobWidget *m_ui;
|
||||
SearchHandler *m_searchHandler;
|
||||
|
||||
Reference in New Issue
Block a user