[PATCH] Fix animation timer leak on switching styles w/Keramik

Maks Orlovich mo002j at mail.rochester.edu
Tue Dec 2 16:04:17 GMT 2003


Do to a pretty major mental lapse on mine, Keramik forget to drop its 
animation timers when you switch style. As a result, switching between styles 
a lot in the kcm can cause a bit of a CPU drag. The attached patch fixes 
that, by using only a single one, and keeping track of progressbar livetime. 

Plastik has the identical issue, as it uses Keramik's animation code.

Please review..


-------------- next part --------------
A non-text attachment was scrubbed...
Name: anim_timer.diff
Type: text/x-diff
Size: 4058 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20031202/e37aed7b/attachment.diff>

More information about the kde-core-devel mailing list