Revision 75f0b9b...

Go back to digest for 19th January 2014

Optimization in KDE Base

Emmanuel Pescosta committed changes in [kde-baseapps] /src/kitemviews:

Calculate all item size hints at once.

The speed up is really small, but theses changes are mostly straightforward and make the code a bit nicer - break
the KStandardItemListWidgetInformant::itemSizeHint beast into three smaller functions.

FIXED-IN: 4.13
REVIEW: 112979

File Changes

Modified 9 files
  • /src/kitemviews
  •   dolphin/kitemlistview.cpp
  •   dolphin/kitemlistview.h
  •   dolphin/kitemlistwidget.h
  •   dolphin/kstandarditemlistwidget.cpp
  •   dolphin/kstandarditemlistwidget.h
  •   dolphin/private/kitemlistsizehintresolver.cpp
  •   dolphin/private/kitemlistsizehintresolver.h
  •   dolphin/private/kitemlistviewlayouter.cpp
  •   dolphin/private/kitemlistviewlayouter.h
9 files changed in total