QWidget update() / repaint() has no effect
-
Most probably your view does not know that anything has changed, so when your call
update()it does nothing,Make sure your underlying model emits dataChanged() when icon changes.
-
-
Hi,
Since the LTS Qt 5.9.7 just got released, you can test against that one.
Might be a silly question but did you check whether you are emitting dataChanged for the wrong indexe(s) ?
-
Also with the correct index? Can you provide a small example? Does it update when you move the mouse over the modified item?