Revision c55f166...

Go back to digest for 13th March 2011

Optimization in Graphics

Andi Clemens committed changes in [digikam] libs/widgets/metadata/metadataselector.cpp:

Greatly improve the performance for the metadataselector class. By adding all
treeitems one-by-one the treewidget seems to trigger a sorting operation.
Adding many items like in the "Makernotes" tab resolves in a poor performance,
on my computer it takes nearly 10 seconds to add all the items, on a friends
computer it's even worse.

Adding the toplevel items parentless to a QList helps to improve the
construction of this tab.
It only takes up to one second now.

File Changes

Modified 1 files
  • libs/widgets/metadata/metadataselector.cpp
1 files changed in total