summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wasm/qwasmintegration.cpp
diff options
context:
space:
mode:
authorAxel Spoerl <axel.spoerl@qt.io>2022-11-25 11:15:26 +0100
committerAxel Spoerl <axel.spoerl@qt.io>2022-11-26 08:07:39 +0100
commit1576f827214cca8a2233f3c81e7d0e3d89eb8007 (patch)
tree13ef09345e0d9b541e98c63acf1dfa4955907480 /src/plugins/platforms/wasm/qwasmintegration.cpp
parent58f885bb3cc593c0a9992efb1b916bdda03d4b52 (diff)
Add simple palette to tst_QWidget
When a widget's palette has different active / inactive colors, multiple paint events can occur. This makes tst_QWidget functions fail when they expect a spcific amount of paint events and the platform theme provides a palette with active / inactive differences. This patch adds a function to populate test widgets with a simple palette, to prevent multiple paint events. Pick-to: 6.4 Change-Id: If9b2faedcc5ca87ba24991cedd5e4ac927b02644 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmintegration.cpp')
0 files changed, 0 insertions, 0 deletions