UI: Split global config into app and user config
This introduces a split of the current single ConfigFile instance for all configuration into two separate instances. The app config instance contains system-wide settings that mainly concern the working of the app itself, whereas the user config instance contains settings actually exposed to the user for the configuration.
This commit is contained in:
parent
26d275223a
commit
2635cf3a2a
35 changed files with 1135 additions and 912 deletions
|
|
@ -107,7 +107,7 @@ void OBSBasicSettings::LoadAppearanceSettings(bool reload)
|
|||
|
||||
void OBSBasicSettings::SaveAppearanceSettings()
|
||||
{
|
||||
config_t *config = GetGlobalConfig();
|
||||
config_t *config = App()->GetUserConfig();
|
||||
|
||||
OBSTheme *currentTheme = App()->GetTheme();
|
||||
if (savedTheme != currentTheme) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue