Skip to content

Commit

Permalink
Try to fix folders also.
Browse files Browse the repository at this point in the history
Signed-off-by: alex-z <[email protected]>
  • Loading branch information
allexzander committed Aug 29, 2023
1 parent a27c0b0 commit f348b46
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/libsync/discovery.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f348b46

Please sign in to comment.