┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kfileitemlistview.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2012-02-01 20:40:57 +0100
committerPeter Penz <[email protected]>2012-02-01 20:47:19 +0100
commite854a3221a27a73bd143d8c765afa61152413b0f (patch)
treede3bec67d2a45fd4a4a4de2789d788a804d88661 /src/kitemviews/kfileitemlistview.cpp
parent39348650d5b1af9b7eca681f35259d9532c29156 (diff)
KFileItemModelRolesUpdater: Optimize updates
The asynchronous resolving to bypass performance bottlenecks is not necessary anymore as multiple ranges can be inserted in one step now. This solves the issue that e.g. opening a tree resulted in temporary unknown icons for a short period of time.
Diffstat (limited to 'src/kitemviews/kfileitemlistview.cpp')
-rw-r--r--src/kitemviews/kfileitemlistview.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/kitemviews/kfileitemlistview.cpp b/src/kitemviews/kfileitemlistview.cpp
index 86db28d3d..4762e8089 100644
--- a/src/kitemviews/kfileitemlistview.cpp
+++ b/src/kitemviews/kfileitemlistview.cpp
@@ -376,8 +376,6 @@ void KFileItemListView::onScrollOffsetChanged(qreal current, qreal previous)
void KFileItemListView::onVisibleRolesChanged(const QList<QByteArray>& current, const QList<QByteArray>& previous)
{
- Q_UNUSED(current);
- Q_UNUSED(previous);
applyRolesToModel();
if (m_itemLayout == DetailsLayout) {