qt5base-lts/tests/auto/widgets
Gabriel de Dietrich 5cff7d2b67 QComboBox: Prioritize the model font for popup items
On Mac, we use QComboMenuDelegate specifically as
item delegate for the popup list. It happens that
the order of resolving the font for each item
individually would prioritize QComboBox's font
instead of whatever the assigned model's FontRole
would specify.

The fix only requires checking whether FontRole is
valid before falling back QComboBox's properties.

Change-Id: I7208ad1911b30cc52c826c1884a1e19f5acd9fb4
Task-number: QTBUG-56693
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
2016-11-10 05:40:29 +00:00
..
dialogs Merge remote-tracking branch 'origin/5.7' into 5.8 2016-11-01 06:02:55 +01:00
effects QtWidgets: Remove Windows CE. 2016-04-07 10:24:45 +00:00
gestures autotests: use QTest::createTouchDevice() 2016-06-10 13:07:17 +00:00
graphicsview Merge remote-tracking branch 'origin/5.7' into 5.8 2016-11-01 06:02:55 +01:00
itemviews Change confusing Q_DEAD_CODE_FROM_QT4_FOO define 2016-10-14 08:19:29 +00:00
kernel Merge remote-tracking branch 'origin/5.7' into 5.8 2016-11-01 06:02:55 +01:00
styles Merge remote-tracking branch 'origin/5.7' into 5.8 2016-10-06 20:12:27 +02:00
util Add a resetClean() method to the undo stack 2016-10-24 13:03:40 +00:00
widgets QComboBox: Prioritize the model font for popup items 2016-11-10 05:40:29 +00:00
widgets.pro Add autotest for QGestureRecognizer. 2014-10-23 21:11:28 +02:00