Two different methods of using QBrush with QPainter - why is only one working?

Printable View