From 53ce37eeca12badf89ebde563a8ec335e0236a02 Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Tue, 20 Feb 2024 20:33:48 +0300 Subject: Avoid sorting items and creating thumbnails when loading metadata Otherwice it has a big performance impact: it causes lots of thumbnail reloads and resorts of FileThumbnailView. Signed-off-by: Alexander Golubev --- src/gvcore/filedetailview.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gvcore/filedetailview.h') diff --git a/src/gvcore/filedetailview.h b/src/gvcore/filedetailview.h index b0eafac..aced4ba 100644 --- a/src/gvcore/filedetailview.h +++ b/src/gvcore/filedetailview.h @@ -55,7 +55,8 @@ public: virtual void clearView(); virtual void updateView( bool ); - virtual void updateView(const KFileItem*); + using FileViewBase::updateView; + virtual void updateView(const KFileItem*, bool metaInfoOnly); virtual void removeItem( const KFileItem* ); virtual void listingCompleted(); -- cgit v1.2.1