mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-22 16:32:01 -04:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user