Residual lines moving QGraphicsRectItem
I have a QGraphicsView with a QGraphicsScene. I have drawn a QGraphicsRectItem with nodes topleft and bottomRight. Dragging this nodes I can resize the QGraphicsRectItem. The problem is, when I resize it, residual lines appear. (see attached image)
How can I fix it?
Thank you very much!!
Using the repaint function in QGraphicsView class solves the problem.