Revision 547395

Go back to digest for 4th June 2006

Optimization in Utilities

Jason Kivlighn committed changes in /trunk/extragear/utils/krecipes:

-Speed up startup by utilizing a cache of the category hierarchy. Loading subcategories is expensive, so at
a cache is initialized and every interface element that loads the category tree transparently takes advantage of
this cache.
-Allow displaying the overall rating of a recipe
-When moving a category, fix memory leak

File Changes

Modified 11 files
  • /trunk/extragear/utils/krecipes
  •   /layouts/Default.template
  •   /layouts/Two_Column.template
  •   /src/krecipesview.cpp
  •   /src/backends/qsqlrecipedb.cpp
  •   /src/backends/recipedb.cpp
  •   /src/backends/recipedb.h
  •   /src/datablocks/categorytree.cpp
  •   /src/datablocks/categorytree.h
  •   /src/exporters/htmlexporter.cpp
  •   /src/widgets/categorylistview.cpp
  •   /src/widgets/categorylistview.h
11 files changed in total