diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2011-11-08 11:49:27 (GMT) |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2011-11-08 14:32:10 (GMT) |
commit | 738b1d2d93a77283bc40e3d03f378a2db8aec97f (patch) | |
tree | 5e77ad46c13a235b63a994ed2226b105fe3c0433 /tests/auto/qformlayout | |
parent | 1496976a05b8804135608c7dde9bca5620950c33 (diff) | |
download | Qt-738b1d2d93a77283bc40e3d03f378a2db8aec97f.zip Qt-738b1d2d93a77283bc40e3d03f378a2db8aec97f.tar.gz Qt-738b1d2d93a77283bc40e3d03f378a2db8aec97f.tar.bz2 |
Fix styleName listing with the same QtFontStyle::Key value
We should store fonts with different style names but the same
QtFontStyle::Key value (italic, weight and stretch) separately,
so that fonts like Osaka (Regular, Regular-Mono) can be listed
correctly. dd0205e0fbacf340508686cc136d70eda7bf664d introduced
this regression when moving styleName out of Key.
Without a styleName specified, we will do binary search and
insertion for styles by comparing QtFontStyle::Key. We should
do the same but comparing styleName instead when it's available.
Reviewed-by: Eskil
Diffstat (limited to 'tests/auto/qformlayout')
0 files changed, 0 insertions, 0 deletions