diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-06-17 14:34:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-17 14:34:16 +0200 |
commit | 2b0bf20dc0012dde319c4ed45bc30db496a8197c (patch) | |
tree | e7729708a13a4be6f9b859700fb637bc0d362782 /platform/uwp | |
parent | 22006709a0f69180622177a8dda40859f228d0de (diff) | |
parent | c87e49d7bc876dd0dd6e5a619d9483ed20e4ffbe (diff) |
Merge pull request #49680 from akien-mga/fix-uwp-export-capabilities
UWP: Keep upstream names for capabilities preset settings to avoid mismatch
Diffstat (limited to 'platform/uwp')
-rw-r--r-- | platform/uwp/export/export.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/uwp/export/export.cpp b/platform/uwp/export/export.cpp index 1b14aac3da..a7edc6e6e5 100644 --- a/platform/uwp/export/export.cpp +++ b/platform/uwp/export/export.cpp @@ -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++; } } |