76 if (commonProps ==
nullptr)
79 if (returnUserPropsIfReadOnly)
81 if (commonSettingsAreReadOnly == 0)
82 commonSettingsAreReadOnly = commonProps->save() ? -1 : 1;
84 if (commonSettingsAreReadOnly > 0)
85 return userProps.get();
88 return commonProps.get();