From f348b46cc0531f5375edc4069014472da662a0bf Mon Sep 17 00:00:00 2001 From: alex-z Date: Tue, 29 Aug 2023 15:20:54 +0200 Subject: [PATCH] Try to fix folders also. Signed-off-by: alex-z --- src/libsync/discovery.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/libsync/discovery.cpp b/src/libsync/discovery.cpp index aec1dd6143994..68b620535a952 100644 --- a/src/libsync/discovery.cpp +++ b/src/libsync/discovery.cpp @@ -1183,11 +1183,8 @@ void ProcessDirectoryJob::processFileAnalyzeLocalInfo( } } - if ((!item->isDirectory() && item->_instruction == CSYNC_INSTRUCTION_NONE) - && dbEntry._lastAccessTime != item->_lastAccessTime - && (item->_file.endsWith(QStringLiteral(".doc")) - || item->_file.endsWith(QStringLiteral(".docx")) - || item->_file.endsWith(QStringLiteral(".odt")))) + if ((item->_instruction == CSYNC_INSTRUCTION_NONE) + && dbEntry._lastAccessTime != item->_lastAccessTime) { item->_instruction = CSYNC_INSTRUCTION_UPDATE_METADATA; item->_direction = SyncFileItem::Down;