[Panel-devel] [PATCH] Small "fixes"

Aaron J. Seigo aseigo at kde.org
Fri Jul 13 17:23:31 CEST 2007


On Friday 13 July 2007, Rafael Fernández López wrote:
> I would like to know if I can commit this patch before leaving on 15 or 16
> for interrail.

why are the translate calls needed? is the painter that is passed in not 
already properly set up? all coordinates are supposed to be in local (to the 
qgraphicsitem) coordinates ....

this sort of implies that every applet/widget would have to make such a 
translate call if it can't be solved elsewise (which i'm thinking it 
can...). -if- it can't, it would probably be better to call this in 
Applet::paint before paintInterface is called to avoid having to do this 
everywhere...

but first, yeah, i'd be very interested in seeing why this call is needed in 
the first place.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

Full time KDE developer sponsored by Trolltech (http://www.trolltech.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20070713/abc5aa7a/attachment.pgp 


More information about the Panel-devel mailing list