-
-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not use native dialog for reset shortcuts (#6493)
# References and relevant issues closes #6490 # Description Since Qt6==6.5.0 on Macos, the Qt starts using native dialog even if it does not support all buttons (in our case `QMessageBox.StandardButton.RestoreDefaults`). This solution is inspired by comments from https://bugreports.qt.io/browse/QTBUG-116757 If someone has time, please try to open the Bug report there. After the last discussions about patching enum, I do not feel fluent enough to write in English to talk with them. An alternative solution will be to change the button on the supported one. Or change the native flag globally, but the second one may impact File Dialogs. --------- Co-authored-by: Peter Sobolewski <pete.sd@gmail.com>
- Loading branch information
1 parent
4128733
commit cd50d92
Showing
2 changed files
with
27 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters