mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Fix review comments.
Signed-off-by: allexzander <blackslayer4@gmail.com>
This commit is contained in:
parent
82953d0601
commit
4b58c2b7b7
1 changed files with 3 additions and 3 deletions
|
@ -180,13 +180,13 @@ void ProcessDirectoryJob::process()
|
|||
bool isHidden = e.localEntry.isHidden || (f.first[0] == '.' && f.first != QLatin1String(".sys.admin#recall#"));
|
||||
#ifdef Q_OS_WIN
|
||||
// exclude ".lnk" files as they are not essential, but, causing troubles when enabling the VFS due to QFileInfo::isDir() and other methods are freezing, which causes the ".lnk" files to start hydrating and freezing the app eventually.
|
||||
const bool isServerEntrySymLink = !e.localEntry.isValid() && e.serverEntry.isValid() && !e.serverEntry.isDirectory && FileSystem::isLnkFile(e.serverEntry.name);
|
||||
const bool isServerEntryWindowsShortcut = !e.localEntry.isValid() && e.serverEntry.isValid() && !e.serverEntry.isDirectory && FileSystem::isLnkFile(e.serverEntry.name);
|
||||
#else
|
||||
const bool isServerEntrySymLink = false;
|
||||
const bool isServerEntryWindowsShortcut = false;
|
||||
#endif
|
||||
if (handleExcluded(path._target, e.localEntry.name,
|
||||
e.localEntry.isDirectory || e.serverEntry.isDirectory, isHidden,
|
||||
e.localEntry.isSymLink || isServerEntrySymLink))
|
||||
e.localEntry.isSymLink || isServerEntryWindowsShortcut))
|
||||
continue;
|
||||
|
||||
if (_queryServer == InBlackList || _discoveryData->isInSelectiveSyncBlackList(path._original)) {
|
||||
|
|
Loading…
Reference in a new issue