┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kfileitemlistview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2011-09-27 20:42:58 +0200
committerPeter Penz <[email protected]>2011-09-27 20:45:16 +0200
commitec38f1cdb641f0b277100edd92b268ec856e2ece (patch)
tree0df979cecbed0a23b2ddb10c99ccd6f1d90109c4 /src/kitemviews/kfileitemlistview.h
parent34a20cec096eaee4eb09f7b2cbec7aa47f7ee4a0 (diff)
Details view: Improve performance
When inserting items or when updating the item-roles there is no need to recalculate the column-widths for all items to get an optimized column-width.
Diffstat (limited to 'src/kitemviews/kfileitemlistview.h')
-rw-r--r--src/kitemviews/kfileitemlistview.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kitemviews/kfileitemlistview.h b/src/kitemviews/kfileitemlistview.h
index 696322f8f..125c86142 100644
--- a/src/kitemviews/kfileitemlistview.h
+++ b/src/kitemviews/kfileitemlistview.h
@@ -61,7 +61,7 @@ public:
virtual QSizeF itemSizeHint(int index) const;
/** @reimp */
- virtual QHash<QByteArray, QSizeF> visibleRolesSizes() const;
+ virtual QHash<QByteArray, QSizeF> visibleRolesSizes(const KItemRangeList& itemRanges) const;
/** @reimp */
virtual QPixmap createDragPixmap(const QSet<int>& indexes) const;