KLed::setColor() not working?

Jason Harris kstars at 30doradus.org
Sun Jun 27 21:58:56 BST 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().

KStars: A KDE Planetarium
-------------- 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/kde-core-devel/attachments/20040627/8595b4b9/attachment.patch>

More information about the kde-core-devel mailing list