diff options
author | Alexander Golubev <[email protected]> | 2024-02-20 20:33:48 +0300 |
---|---|---|
committer | Alexander Golubev <[email protected]> | 2024-02-20 20:33:48 +0300 |
commit | 53ce37eeca12badf89ebde563a8ec335e0236a02 (patch) | |
tree | 1e28df1ba0a3d9cdaef27d9796f4391856a281b6 /src/gvcore/filedetailview.h | |
parent | 79826b760ff5c65840794d3d2dc4c4a60916996c (diff) | |
download | gwenview-53ce37eeca12badf89ebde563a8ec335e0236a02.tar.gz gwenview-53ce37eeca12badf89ebde563a8ec335e0236a02.zip |
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 <[email protected]>
Diffstat (limited to 'src/gvcore/filedetailview.h')
-rw-r--r-- | src/gvcore/filedetailview.h | 3 |
1 files changed, 2 insertions, 1 deletions
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(); |