[Kstars-devel] Re: KLed::setColor() not working?

Jason Harris kstars at 30doradus.org
Sun Jun 27 22:58:56 CEST 2004


On Sunday 27 June 2004 01:47 pm, Jason Harris wrote:
> Seems to be a bug in KLed, but I'm not familiar enough with that code
> to see the problem immediately.
>

Actually, I'd like to propose the attached patch.  I think what is 
happening, is that KLed is caching its On/Off pixmaps, but the cache 
isn't cleared when the color is changed.  The patch just clears the 
cached pixmaps in KLed::setColor().

regards,
Jason
-- 
KStars: A KDE Planetarium
http://edu.kde.org/kstars
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kled.patch
Type: text/x-diff
Size: 567 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kstars-devel/attachments/20040627/8595b4b9/kled.bin


More information about the Kstars-devel mailing list