mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-10 13:35:31 +02:00
Split general module settings and UI flags to separate files. (#2613)
This commit is contained in:
@@ -79,7 +79,7 @@ public:
|
||||
inline void SetFlags(unsigned int flags)
|
||||
{
|
||||
settings.flags = flags;
|
||||
Save();
|
||||
WriteFlags();
|
||||
}
|
||||
|
||||
inline const std::wstring& GetSearchText() const
|
||||
@@ -125,8 +125,12 @@ private:
|
||||
void MigrateFromRegistry();
|
||||
void ParseJson();
|
||||
|
||||
void ReadFlags();
|
||||
void WriteFlags();
|
||||
|
||||
Settings settings;
|
||||
std::wstring jsonFilePath;
|
||||
std::wstring UIFlagsFilePath;
|
||||
FILETIME lastLoadedTime;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user