[SOLVED] Find the source of endless repaints?



  • 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.