summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qobjectdefs_impl.h
diff options
context:
space:
mode:
authorAxel Spoerl <axel.spoerl@qt.io>2022-11-28 11:47:24 +0100
committerAxel Spoerl <axel.spoerl@qt.io>2022-11-30 22:11:12 +0100
commit84d4b21f697f6be064a9baef628d313a7f059ac2 (patch)
tree0e87bf03c998df4c989f1ab774a0eda00dc749ee /src/corelib/kernel/qobjectdefs_impl.h
parent715a6c390874f9a53a21ad66bd5c37a513c88199 (diff)
Stabilize tst_QComboBox::setPalette() with simple palettes
The test function tst_QComboBox::setPalette() tests if the QComboBox correctly inherits its palette to its QLineEdit child, by directly comparing both palettes after a palette change on the QComboBox. If the application palette for both widget types contains brushes which are either pixmap based or the resolve mask prevents them from being copied, the direct palette comparison between parent and child fails, despite of a correct propagation. This patch sets a simple gray application palette for QComboBox and QLineEdit at the beginning of the test. The QSKIP for macOS is removed, because using simple palettes solves both issues. Change-Id: I61d509745377306d6f8331dfc1ac189fc58cdedb Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/kernel/qobjectdefs_impl.h')
0 files changed, 0 insertions, 0 deletions