Merge pull request #49680 from akien-mga/fix-uwp-export-capabilities
UWP: Keep upstream names for capabilities preset settings to avoid mismatch
This commit is contained in:
commit
2b0bf20dc0
1 changed files with 3 additions and 3 deletions
|
@ -1049,19 +1049,19 @@ public:
|
|||
// Capabilities
|
||||
const char **basic = uwp_capabilities;
|
||||
while (*basic) {
|
||||
r_options->push_back(ExportOption(PropertyInfo(Variant::BOOL, "capabilities/" + String(*basic).camelcase_to_underscore(false)), false));
|
||||
r_options->push_back(ExportOption(PropertyInfo(Variant::BOOL, "capabilities/" + String(*basic)), false));
|
||||
basic++;
|
||||
}
|
||||
|
||||
const char **uap = uwp_uap_capabilities;
|
||||
while (*uap) {
|
||||
r_options->push_back(ExportOption(PropertyInfo(Variant::BOOL, "capabilities/" + String(*uap).camelcase_to_underscore(false)), false));
|
||||
r_options->push_back(ExportOption(PropertyInfo(Variant::BOOL, "capabilities/" + String(*uap)), false));
|
||||
uap++;
|
||||
}
|
||||
|
||||
const char **device = uwp_device_capabilities;
|
||||
while (*device) {
|
||||
r_options->push_back(ExportOption(PropertyInfo(Variant::BOOL, "capabilities/" + String(*device).camelcase_to_underscore(false)), false));
|
||||
r_options->push_back(ExportOption(PropertyInfo(Variant::BOOL, "capabilities/" + String(*device)), false));
|
||||
device++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue