pdini 0 Newbie Poster

Hi all, I have a problem with QBrush in PyQt.

Hi updated my computer and updated pyqt and what used to work doesn't anymore:

I have a QBrush and when I try to update the color it doesn't work:
brush = QBrush(QColor(255,255,255,255))
print brush.color().getRgb() # output: (255, 255, 255, 255)
brush.setColor(QColor(255,0,0,255))
print brush.color().getRgb() # output: (255, 255, 255, 255)

In other words both print give me the same values altought I updated the color.
Did anyone experienced that problem?

Best

Patrick