From 18755c672028e918d6ef54e35e88946fefa8d603 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 7 Nov 2007 22:55:15 +0000 Subject: Fixed performance issue in the details-view when showing > 10000 items: * Resizing the columns takes around 250 ms instead of 2 seconds. * Opening 10000 items from the disk cache takes 3 seconds instead of 20 seconds. svn path=/trunk/KDE/kdebase/apps/; revision=734052 --- src/dolphindetailsview.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/dolphindetailsview.h') diff --git a/src/dolphindetailsview.h b/src/dolphindetailsview.h index ec98b0faf..f00b263d1 100644 --- a/src/dolphindetailsview.h +++ b/src/dolphindetailsview.h @@ -138,6 +138,11 @@ private: KFileItemDelegate::Information infoForColumn(int columnIndex) const; + /** + * Resizes all columns in a way to use the whole available width of the view. + */ + void resizeColumns(); + private: DolphinController* m_controller; QStyleOptionViewItem m_viewOptions; -- cgit v1.3.1