Ensure the style knows what widget its painting focus for.
Also take the widget's style (as is done in the delegate paint method)
Details
Details
Diff Detail
Diff Detail
- Repository
- R236 KWidgetsAddons
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Tested, works fine here.
I don't see any other cases of drawPrimitive being invoked without passing a widget.