Revision 793672

Go back to digest for 6th April 2008

Optimization in KDE Base

Maks Orlovich committed changes in /branches/KDE/4.0/kdelibs/kdeui/widgets/kanimatedbutton.cpp:

Cache and reuse pixmaps for each frame. Before, new ones were created, and Qt would stick every single one of them into the pixmap cache, potentially keeping as many as ~1000 X pixmaps pointlessly, which could slow down things such as EXA (though FredrikH made the latest devel X handle that better..)

File Changes

Modified 1 files
  • /branches/KDE/4.0/kdelibs/kdeui/widgets/kanimatedbutton.cpp
1 files changed in total