[SOLVED] Find the source of endless repaints?
General and Desktop
2
Posts
1
Posters
946
Views
1
Watching
-
I have a QGraphicsWidget, which wraps a QGraphicsTextItem subclass. For some reason, I get tons of repaints (like several dozens a second) in my parent QGraphicsWidget, and I have no idea where they are coming from. I have checked that my code never calls update().
How do I find the cause of the repaints?
-
Set a breakpoint in QGraphicsItem::update() and see where it's coming from.