[PATCH] KStatusBar::changeItem() optimisation
dang at kde.org
Wed Jun 16 07:05:05 BST 2004
Attached patch doesn't call QStatusBar::reformat() when the text of a fixed
item is changed since the layout of the statusbar won't be changed. This
dramatically reduces CPU usage if the text is set frequently (e.g. moving the
mouse over the drawing area in KolourPaint).
Actually, I'm not sure if calling reformat() is ever needed at all since I
imagine geometry management would take care of it.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 593 bytes
Desc: not available
More information about the kde-core-devel