qt5base-lts/tests/auto/widgets/dialogs/qfontdialog
Andy Shaw b1004c7d0a If only family is set, prefer that in the families list after resolving
If a font with only a family set is resolved with one that has been setup
with setFamilies() then the family needs to be prepended to the families
list after resolving. This is so that the font still prefers the one set
as just a family with no famillies set.

This also amends the QFontDialog test to account for this too.

[ChangeLog][QtGui][Text] Resolving a font that just has a family set
with families set will prepend the family to the families so that it
is still the first preference for the font.

Task-number: QTBUG-46322
Change-Id: Icc4005732f95b2b4c684e592b06b31e133270e44
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
2019-11-05 09:46:29 +01:00
..
.gitignore Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
qfontdialog.pro Link to AppKit instead of Cocoa. 2015-09-05 11:49:17 +00:00
testfonts.qrc QStyleSheetStyle: Don't interfere with QFontDialog 2014-10-24 16:59:26 +02:00
tst_qfontdialog_mac_helpers.mm Updated license headers 2016-01-21 18:55:18 +00:00
tst_qfontdialog.cpp If only family is set, prefer that in the families list after resolving 2019-11-05 09:46:29 +01:00