https://bugs.kde.org/show_bug.cgi?id=420287
--- Comment #14 from Ahmad Samir <[email protected]> --- Git commit e5e5f5ed51aadfac99bfbdf3d2db5be16a12443b by Ahmad Samir. Committed on 10/08/2020 at 12:52. Pushed by ahmadsamir into branch 'Plasma/5.18'. kcm_fonts: Make the font selection dialog select the correct "Regular"-like style Due to KConfig dropping QFont styleName property (for "Regular"-like font styles, see [1] for more details), the font selection dialog invoked by the KCM could end up selecting the wrong style; this change sets the appropriate "Regular" style on the QFont object before invoking the font selection dialog to fix/workaround the issue. Note that in Plasma master branch the issue is handled differently, since we switched from QFontDialog to KFontChooserDialog (the latter has that logic built-in). [1] https://phabricator.kde.org/D27735 M +56 -5 kcms/fonts/fonts.cpp M +1 -0 kcms/fonts/fonts.h M +2 -5 kcms/fonts/package/contents/ui/FontWidget.qml M +2 -2 kcms/fonts/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/commit/e5e5f5ed51aadfac99bfbdf3d2db5be16a12443b -- You are receiving this mail because: You are watching all bug changes.
