Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@0biwan-ops
Copy link

@0biwan-ops 0biwan-ops commented Sep 29, 2025

Description of Change

This code stores the provided extension and then gets the UTType for the filenameextension and then compares it with the provided type and then uses the provided one if the canonical refers to the same extension type.

Example: .hpp has the canonical type as .hh but the code compares the two's UTType and then uses .hpp if the UTType was identified and is same for canonical and this.

Closes #48332

Checklist

Release Notes

Notes: none

@electron-cation electron-cation bot added the new-pr 🌱 PR opened recently label Sep 29, 2025
@0biwan-ops 0biwan-ops marked this pull request as ready for review September 29, 2025 13:30
@0biwan-ops 0biwan-ops marked this pull request as draft September 29, 2025 13:32
@0biwan-ops 0biwan-ops marked this pull request as ready for review September 30, 2025 05:23
@codebytere codebytere self-requested a review September 30, 2025 16:47
@0biwan-ops
Copy link
Author

@codebytere please let me know if I handled something incorrectly.

@ckerr ckerr added semver/patch backwards-compatible bug fixes no-backport labels Oct 3, 2025
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened recently label Oct 3, 2025
@mlaurencin
Copy link
Member

@0biwan-ops Please add release notes to your PR description

@0biwan-ops
Copy link
Author

@mlaurencin could run the tests again to check if anything is failing


[[self savePanel] setAllowedContentTypes:allowAllFiles ? @[] : content_types];
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is advisable to avoid the use of the deprecated API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-backport semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

showSaveDialog truncates .cpp to .cp on macOS

5 participants