summaryrefslogtreecommitdiffstats
path: root/src/gvcore/filedetailview.cpp
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2024-02-20 20:33:48 +0300
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-02-22 18:29:31 +0900
commitdb4080c1832fa8085e5737e6148baee7d8c3c00e (patch)
treeef9b1a76769b5b0686b3bb3e5e17ed980280747e /src/gvcore/filedetailview.cpp
parenta5931c83bdad1b1d137cf30f5c9cf59bf3e4c8cd (diff)
downloadgwenview-db4080c1832fa8085e5737e6148baee7d8c3c00e.tar.gz
gwenview-db4080c1832fa8085e5737e6148baee7d8c3c00e.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 <fatzer2@gmail.com> (cherry picked from commit 53ce37eeca12badf89ebde563a8ec335e0236a02)
Diffstat (limited to 'src/gvcore/filedetailview.cpp')
-rw-r--r--src/gvcore/filedetailview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gvcore/filedetailview.cpp b/src/gvcore/filedetailview.cpp
index 50d2b3f..2a73176 100644
--- a/src/gvcore/filedetailview.cpp
+++ b/src/gvcore/filedetailview.cpp
@@ -251,7 +251,7 @@ void FileDetailView::updateView( bool b )
}
}
-void FileDetailView::updateView( const KFileItem *i )
+void FileDetailView::updateView( const KFileItem *i, bool /*metaDataOnly*/ )
{
if ( !i ) return;