Revision 1221855

Go back to digest for 27th February 2011

Optimization in Development Tools

Alexander Richardson committed changes in /trunk/KDE/kdesdk/okteta/kasten/controllers:

Save the width of the columns in the ByteTableView and restore them at next start.

If style or font changes, the width will be recalculated. If it is possible to reuse the previous width (which should almost always be the case),
construction takes ~3ms compared to a few hundred ms when values have to be recalculated.

File Changes

Added 2 files
  • /trunk/KDE/kdesdk/okteta/kasten/controllers/view/bytetable
  •   /bytetableviewsettings.kcfg
  •   /bytetableviewsettings.kcfgc
Modified 3 files
  • /trunk/KDE/kdesdk/okteta/kasten/controllers
  •   /CMakeLists.txt
  •   /view/bytetable/bytetableview.cpp
  •   /view/bytetable/bytetableview.h
5 files changed in total