Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.1.1, 5.12.0 RC
-
Mac OS X 10.6
Description
The second argument to QFontDialog::getFont() should set the initially selected font when the dialog opens. But for the non-native QFontDialog, it has no effect.
The problem can be reproduced by running the Standard Dialogs example (qtbase/examples/widgets/dialogs/standarddialogs) on Mac OS X. Check the "Do not use native dialog" checkbox, select a font other than the default, click OK, and re-open the dialog. The font is back to the default — incorrect. If you then uncheck the "Do not use native dialog" checkbox and re-open the dialog, the initial font is correctly set.