]> cloud.milkyroute.net Git - dolphin.git/commit
Load unknown icons for items just before showing items in the view
authorFrank Reininghaus <frank78ac@googlemail.com>
Fri, 12 Jul 2013 06:27:04 +0000 (08:27 +0200)
committerFrank Reininghaus <frank78ac@googlemail.com>
Fri, 12 Jul 2013 06:27:05 +0000 (08:27 +0200)
commit63b26cbf2c849f724b7e2f5c8f40f6883d6278e5
tree1b1b783e8bd625df2537d7479e2ce904dfa8f4ab
parent6028bd7cf6fcd65bc43d255f1f0eaf0820ee79b6
Load unknown icons for items just before showing items in the view

Rather than loading many icons (without full mime type determination)
in advance, we make sure that an item has an icon just before it is
shown in the view. This makes sure that no "unknown" icons are shown
unnecessarily, and saves some resources.

REVIEW: 111396
src/kitemviews/kfileitemlistview.cpp
src/kitemviews/kfileitemlistview.h
src/kitemviews/kfileitemmodelrolesupdater.cpp
src/kitemviews/kfileitemmodelrolesupdater.h