┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinview.cpp
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2013-06-05 23:31:01 +0200
committerFrank Reininghaus <[email protected]>2013-06-05 23:31:01 +0200
commit2bdc5eff541c1e60fa197750e6aa73cee116beac (patch)
treedaa87c9002b7afb7adfb20229e97bf6b0eb144ae /src/views/dolphinview.cpp
parentc6494823c8b79a33bf333a1e3a2c58ac6d74dcea (diff)
KFileItemModelRolesUpdater: waste less ressources and fix some bugs
The main change in this commit is that we do not determine expensive roles (like previews, mime types, etc) for all items, but only for the visible ones and those close to the visible area or on the first and the last page of the view. This prevents that the CPU and hard drive are kept busy for quite some time after entering a folder while all items are handled asynchronously. There is one known problem at the moment: when sorting by "Type" or another role that can be resolved by KFileItemModelRolesUpdater, the icons of the visible items are sometimes not loaded while the sorting is still in progress. I will try to fix this issue during the next few days. REVIEW: 110839
Diffstat (limited to 'src/views/dolphinview.cpp')
0 files changed, 0 insertions, 0 deletions