[Qt-interest] repaint not working

Nikos Chantziaras realnc at arcor.de
Wed Jun 1 00:32:02 CEST 2011


On 05/31/2011 04:35 PM, Doug Stewart wrote:
> We have a project that 3 people are working on. The repaint works in the
> Mac. the same code compiled on Ubuntu does not work.
>
> {
>
>      connect(this,  SIGNAL(pointChanged()),  this,  SLOT(repaint()));
>
> }

Try update() instead of repaint().  Calling repaint() is a bad idea most 
of the time.



More information about the Qt-interest-old mailing list