Revision 823429
Go back to digest for 29th June 2008Optimization in KDE Base
David Nolden committed changes in /trunk/KDE/kdelibs/kate/completion/expandingtree:
Implement sizeHintForColumn with a trivial function that just returns the current column width.
This is needed because QTreeView sometimes triggers automatic resizing of the columns in the background, without allowing that behavior to be configured. With a very long completion list and complex data() functions like in KDevelop, such an automatic resizing was extremely slow, and nearly felt like a crash.
File Changes
Modified 2 files
- /trunk/KDE/kdelibs/kate/completion/expandingtree
- /expandingtree.cpp
- /expandingtree.h
2 files changed in total