QFontDialog::getFont() doesn't use correct font style
Unsolved
General and Desktop
-
@pbe said:
Do you have any ideas to get around this?
Sadly, no. The bug seems inherent to the
QFontDialog
class when theQFont
's internal identifier isn't set (i.e. when the dialog needs to go and query about the font by its attributes). If I get some more time in the coming days, I'll try to run it again and hopefully will have something better.Kind regards.
-
@kshegunov, thank you very much! You are my hero!
-
@pbe
https://codereview.qt-project.org/#/c/165958/We'll see if it gets approved.
-
@kshegunov, that really is what I'm encountering... So actually two bugs are triggered here...
-
@pbe
QTBUG-54936's been merged and the patch will be incorporated in Qt 5.8Kind regards.
-
@kshegunov, great news! Thanks a lot!