[PATCH] Get rid of QPainter warnings

Germain Garand germain at ebooksfrance.org
Fri Apr 4 02:03:28 BST 2008


Le vendredi 4 avril 2008, Rafael Fernández López a écrit :
> Hi Germain,
>
> Actually, the test is wrong from my understanding. You cannot start the
> painter there and then do the render on the pixmap.

read the test again : my target device is not |this| but a pixmap, and the 
source device is a push button.

QPainter p( this );
pushButton->render( pixmap, ... )

there is no theoretical or otherwise documented relationship between those 3 
paint devices.

Germain




More information about the kfm-devel mailing list