Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix bug on macos with save dialog #2379

Merged
merged 3 commits into from
Feb 6, 2022
Merged

Conversation

borgmanJeremy
Copy link
Contributor

@borgmanJeremy borgmanJeremy commented Feb 6, 2022

There is a bug on on MacOs. When the mime types are populated Qt reports HEIC and HEIF as seperate types. Really they are the same thing except HEIF also supports video.

The MacOs native dialog always shows heif/heic, so it was causing an off by one error. This fix removes HEIF from the list.

@borgmanJeremy
Copy link
Contributor Author

Closes #2270

@borgmanJeremy borgmanJeremy merged commit 74db680 into master Feb 6, 2022
@borgmanJeremy borgmanJeremy deleted the fix_macos_save_dialog branch February 18, 2022 17:27
panpuchkov pushed a commit to namecheap/flameshot that referenced this pull request May 13, 2022
* fix bug on macos with save dialog

* refactored Saver to not be a class since there are no member variables

* removed useless comment

(cherry picked from commit 74db680)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant