[PATCH] Icon tooltips

Marco Martin notmart at gmail.com
Thu Jan 10 16:07:22 CET 2008


On Wednesday 09 January 2008, Aaron J. Seigo wrote:
> yes, we need this in there.
>
> however, instead of keeping the data around, just create it when you need
> it (where you call setToolTip). that will prevent duplicating this data
> unecessarily in memory.
>
> with that change it doesn't really matter anymore, but the data member
> should have been m_data.

i didn't want to create a kdesktopfile in updateconstraints only for reading 
the generic name, in this second attempt only the generic name is stored 
globally and the tooltip data is created in updateconstraints.
Cheers,
Marco Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icon_tooltip2.diff
Type: text/x-diff
Size: 1696 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080110/fc9a99bd/attachment.bin 


More information about the Panel-devel mailing list