summaryrefslogtreecommitdiffstats
path: root/src/gvcore/fileviewcontroller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/fileviewcontroller.cpp')
-rw-r--r--src/gvcore/fileviewcontroller.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gvcore/fileviewcontroller.cpp b/src/gvcore/fileviewcontroller.cpp
index 4da91b0..576f9c6 100644
--- a/src/gvcore/fileviewcontroller.cpp
+++ b/src/gvcore/fileviewcontroller.cpp
@@ -1053,7 +1053,9 @@ void FileViewController::dirListerNewItems(const KFileItemList& items) {
LOG("");
mThumbnailsNeedUpdate=true;
currentFileView()->addItemList(items);
- loadMetaInfo(items);
+ if (FileViewConfig::loadMetadata()) {
+ loadMetaInfo(items);
+ }
}
@@ -1063,7 +1065,10 @@ void FileViewController::dirListerRefreshItems(const KFileItemList& list) {
for (; *it!=0L; ++it) {
updateViewItem(*it);
}
- loadMetaInfo(list, true);
+
+ if (FileViewConfig::loadMetadata()) {
+ loadMetaInfo(list, true);
+ }
}
void FileViewController::updateViewItem(const KFileItem *item, bool metaDataOnly) {