Revision 1191192

Go back to digest for 31st October 2010

Optimization in KDE Base

Ingomar Wesp committed changes in /trunk/KDE/kdelibs/plasma:

Do not require an exact match for size hinted elements, but search for the smallest size hinted element that is bigger than the display size.

Thanks to mommertz, who outlined and mentored this patch, element ids are cached both locally and in the theme, so no additional calls to createRenderer are required.

This was discussed in http://svn.reviewboard.kde.org/r/5689/.

File Changes

Modified 4 files
  • /trunk/KDE/kdelibs/plasma
  •   /svg.cpp
  •   /theme.cpp
  •   /theme.h
  •   /private/svg_p.h
4 files changed in total