diff options
| author | Frank Reininghaus <[email protected]> | 2013-07-12 08:27:04 +0200 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2013-07-12 08:27:05 +0200 |
| commit | 63b26cbf2c849f724b7e2f5c8f40f6883d6278e5 (patch) | |
| tree | 1b1b783e8bd625df2537d7479e2ce904dfa8f4ab /src/kitemviews/kfileitemlistview.h | |
| parent | 6028bd7cf6fcd65bc43d255f1f0eaf0820ee79b6 (diff) | |
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
Diffstat (limited to 'src/kitemviews/kfileitemlistview.h')
| -rw-r--r-- | src/kitemviews/kfileitemlistview.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kitemviews/kfileitemlistview.h b/src/kitemviews/kfileitemlistview.h index d795c96b5..49ff77318 100644 --- a/src/kitemviews/kfileitemlistview.h +++ b/src/kitemviews/kfileitemlistview.h @@ -77,6 +77,7 @@ public: protected: virtual KItemListWidgetCreatorBase* defaultWidgetCreator() const; + virtual void initializeItemListWidget(KItemListWidget* item); virtual void onPreviewsShownChanged(bool shown); virtual void onItemLayoutChanged(ItemLayout current, ItemLayout previous); virtual void onModelChanged(KItemModelBase* current, KItemModelBase* previous); |
