summaryrefslogtreecommitdiffstats
path: root/examples/widgets/statemachine/trafficlight/main.cpp
diff options
context:
space:
mode:
authorAlejandro Exojo <alex@vikingsoftware.com>2018-07-11 17:33:29 +0200
committerAlejandro Exojo (Viking Software) <alex@vikingsoftware.com>2018-12-31 14:30:26 +0000
commit7f34e8b58ca51b8ce0b0d7757ae903ac9e940c80 (patch)
tree0fe8d861f337b6a02c178735254baedec662205b /examples/widgets/statemachine/trafficlight/main.cpp
parent7ef0b575b38d267bd3dc14ff46935d556562ff00 (diff)
Fix and unit test QPalette::resolve
The function is setting the brushes correctly in the return value, but without updating the resolve_mask, making it return wrong results in functions like isBrushSet or the debug operator. Added a unit test for the member function, since the class is still mostly untested, and clarified the reference documentation of what the function is supposed to do. Change-Id: Iaa820dc44f095e125f9375cb00da5569986803c6 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'examples/widgets/statemachine/trafficlight/main.cpp')
0 files changed, 0 insertions, 0 deletions